import "sbILibraryConstraints.idl";
Public Member Functions | |
sbILibraryConstraintBuilder | includeConstraint (in sbILibraryConstraint aConstraint) |
Add an existing constraint to the builder. | |
sbILibraryConstraintBuilder | include (in AString aProperty, in AString aValue) |
Add a property / value pair to the current group. | |
sbILibraryConstraintBuilder | includeList (in AString aProperty, in nsIStringEnumerator aValues) |
Adds a property / value pair to the current group for each of the values supplied in the value list. This is a shortcut to calling include for every value with the same property. | |
sbILibraryConstraintBuilder | intersect () |
Completes the current group and starts a new one. Each group will be intersected in the result. | |
sbILibraryConstraint | get () |
Returns the constructed constraint. |
Definition at line 53 of file sbILibraryConstraints.idl.
sbILibraryConstraintBuilder sbILibraryConstraintBuilder::includeConstraint | ( | in sbILibraryConstraint | aConstraint | ) |
Add an existing constraint to the builder.
aConstraint | The constraint to add |
sbILibraryConstraintBuilder sbILibraryConstraintBuilder::include | ( | in AString | aProperty, | |
in AString | aValue | |||
) |
Add a property / value pair to the current group.
aProperty | The property to add | |
aValue | The value to add |
sbILibraryConstraintBuilder sbILibraryConstraintBuilder::includeList | ( | in AString | aProperty, | |
in nsIStringEnumerator | aValues | |||
) |
Adds a property / value pair to the current group for each of the values supplied in the value list. This is a shortcut to calling include for every value with the same property.
aProperty | The property to add | |
aValue | The values to add |