|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IfConstraint
Perform a conditional if,then,else block. If conditional passes, the pass block is run as it would be in an AND constraint. If the the conditional fails, the fail block is run as it would be in an AND constraint.
Field Summary |
---|
Fields inherited from interface com.novell.zos.constraint.Constraint |
---|
TYPE_ACCEPT, TYPE_ALLOCATION, TYPE_CONTINUE, TYPE_DEFAULT, TYPE_HEALTH, TYPE_PROVISION, TYPE_REPOSITORY, TYPE_RESET, TYPE_RESOURCE, TYPE_START, TYPE_TRIGGER, TYPE_VMHOST, TYPES |
Method Summary | |
---|---|
void |
addElseChild(Constraint child)
Add a child fail constraint. |
void |
addThenChild(Constraint child)
Add a child pass constraint. |
Iterator |
getElseChildIterator()
Retrieve the Iterator for fail child constraints |
Iterator |
getThenChildIterator()
Retrieve the Iterator for pass child constraints |
Methods inherited from interface com.novell.zos.constraint.ContainerConstraint |
---|
addChild, getChildCount, getChildren, removeChild |
Methods inherited from interface com.novell.zos.constraint.Constraint |
---|
getReason, setReason, toString, toXmlDocument, validate |
Method Detail |
---|
void addThenChild(Constraint child)
child
- the child Constraint to addIterator getThenChildIterator()
void addElseChild(Constraint child)
child
- the child Constraint to addIterator getElseChildIterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |