public class SessionListSelector extends AbstractListSelector
| Constructor and Description |
|---|
SessionListSelector() |
SessionListSelector(int numberOfIterations) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canCreateIterator(ExecutionContext context)
Returns whether a new iterator can be created.
|
protected boolean |
canExecuteNext()
Can a next element be executed.
|
protected Iterator<Element> |
createIterator(ExecutionContext context)
Get the iterator to use for the iteration.
|
int |
getNumIterations() |
List<Integer> |
getSessionList() |
void |
initialize(Element element)
Initializes this scheduler.
|
boolean |
isIncludeUnfinished() |
boolean |
selectNextElement(ExecutionContext context) |
void |
setIncludeUnfinished(boolean includeUnfinished) |
void |
setNumIterations(int numIterations) |
void |
setSessionList(List<Integer> sessionList) |
getExecutionElementpublic SessionListSelector()
public SessionListSelector(int numberOfIterations)
public void initialize(Element element)
initialize in interface Initializableinitialize in class AbstractListSelectorpublic boolean selectNextElement(ExecutionContext context)
protected boolean canCreateIterator(ExecutionContext context)
protected boolean canExecuteNext()
protected Iterator<Element> createIterator(ExecutionContext context)
public int getNumIterations()
public void setNumIterations(int numIterations)
public boolean isIncludeUnfinished()
public void setIncludeUnfinished(boolean includeUnfinished)
Copyright © 2012. All Rights Reserved.