Interface | osid.control.rules.ActionEnablerList | ||
---|---|---|---|
Implements | osid.OsidList | ||
Description |
Like all while (ael.hasNext()) { ActionEnabler enabler = ael.getNextActionEnabler(); }or while (ael.hasNext()) { ActionEnabler[] enablers = ael.getNextActionEnablers(ael.available()); } | ||
Method | getNextActionEnabler | ||
Description |
Gets the next | ||
Return | osid.control.rules.ActionEnabler | the next ActionEnabler in this list. The hasNext()
method should be used to test that a next ActionEnabler
is available before calling this method. | |
Errors | ILLEGAL_STATE | no more elements available in this list | |
OPERATION_FAILED | unable to complete request | ||
Compliance | mandatory | This method must be implemented. | |
Method | getNextActionEnablers | ||
Description |
Gets the next set of | ||
Parameters | cardinal | n | the number of ActionEnabler elements requested which must be
less than or equal to available() |
Return | osid.control.rules.ActionEnabler[] | an array of ActionEnabler elements. The
length of the array is less than or equal to the number specified. | |
Errors | ILLEGAL_STATE | no more elements available in this list | |
OPERATION_FAILED | unable to complete request | ||
Compliance | mandatory | This method must be implemented. |