|
Faceted Project Framework Version 1.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConstraint
Models a single constraint in the constraint expression.
Nested Class Summary | |
---|---|
static class |
IConstraint.Type
The enumeration of operator types. |
Method Summary | |
---|---|
IStatus |
check(Collection<IProjectFacetVersion> facets)
Checks this constraint against the given set of project facets. |
IStatus |
check(Collection<IProjectFacetVersion> facets,
boolean validateSoftDependencies)
Checks this constraint against the given set of project facets. |
Object |
getOperand(int index)
Returns the operand at the specified position. |
List<Object> |
getOperands()
Returns the list operands. |
IConstraint.Type |
getType()
Returns the operator type |
Method Detail |
---|
IConstraint.Type getType()
List<Object> getOperands()
Object getOperand(int index)
index
- the position of the operand in the list of operands
IStatus check(Collection<IProjectFacetVersion> facets)
facets
- a set of project facets
IStatus.OK
if the
constraint was satisfied or otherwise a MultiStatus
composed of
individual status objects for each of the problemsIStatus check(Collection<IProjectFacetVersion> facets, boolean validateSoftDependencies)
facets
- a set of project facetsvalidateSoftDependencies
- if true
soft dependencies
will be treated as required
IStatus.OK
if the
constraint was satisfied or otherwise a MultiStatus
composed of
individual status objects for each of the problems
|
Faceted Project Framework Version 1.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |