Interface | osid.workflow.rules.ProcessEnablerList | ||
---|---|---|---|
Implements | osid.OsidList | ||
Description |
Like all while (pel.hasNext()) { ProcessEnabler enabler = pel.getNextProcessEnabler(); }or while (pel.hasNext()) { ProcessEnabler[] enablers = pel.getNextProcessEnablers(pel.available()); } | ||
Method | getNextProcessEnabler | ||
Description |
Gets the next | ||
Return | osid.workflow.rules.ProcessEnabler | the next ProcessEnabler in this list. The hasNext()
method should be used to test that a next ProcessEnabler
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 | getNextProcessEnablers | ||
Description |
Gets the next set of | ||
Parameters | cardinal | n | the number of ProcessEnabler elements requested which must
be less than or equal to available() |
Return | osid.workflow.rules.ProcessEnabler[] | an array of ProcessEnabler 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. |