|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.inspera.services.pedal.engine.SequencingState
public class SequencingState
SequencingState that holds the sequencing information for a module.
Constructor Summary | |
---|---|
SequencingState(Module module)
Constructs a new SequencingState for the specified module |
Method Summary | |
---|---|
void |
checkAllProcessed(java.util.Collection<LearningObject> learningObjects)
Checks whether all items in the specified collection are processed. |
LearningObject |
getCurrentItem()
Returns the current item in the queue under processing. |
boolean |
isAllProcessed()
Checks whether all items in the module are processed. |
boolean |
isProcessed(LearningObject learningObject)
Checks whether the specified item is processed. |
void |
markCurrent(LearningObject learningObject)
Marks the specifed item as current in the queue of processing items for the module |
void |
refresh()
Refreshes the queue of processing items by removing current item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SequencingState(Module module)
module
- the module of this SequencingStateMethod Detail |
---|
public LearningObject getCurrentItem()
public void markCurrent(LearningObject learningObject)
learningObject
- the item to be marked as currentpublic boolean isAllProcessed()
public void refresh()
public boolean isProcessed(LearningObject learningObject)
learningObject
- item to be checked
public void checkAllProcessed(java.util.Collection<LearningObject> learningObjects)
learningObjects
- collection of items to be checked.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |