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)
Called on the top element of the stack.
|
void |
setIncludeUnfinished(boolean includeUnfinished) |
void |
setNumIterations(int numIterations) |
void |
setSessionList(List<Integer> sessionList) |
getExecutionElement
public SessionListSelector()
public SessionListSelector(int numberOfIterations)
public void initialize(Element element)
initialize
in interface Initializable
initialize
in class AbstractListSelector
public boolean selectNextElement(ExecutionContext context)
ElementSelector
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 © 2013. All Rights Reserved.