Modifier and Type | Method and Description |
---|---|
void |
ModuleOverviewFrame.processExecutionPhase(ExecutionContext context) |
Modifier and Type | Class and Description |
---|---|
class |
ExecutionContextImpl
Execution context object
This is sort of a one stop shop for elements during execution.
|
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
ExecutorImpl.getExecutionContext() |
Modifier and Type | Method and Description |
---|---|
void |
ElementTreeImpl.deliverPhaseEvent(ExecutionContext context)
Phase events are managed a bit specially for elements.
|
void |
PhaseListenerManagerImpl.informListeners(ExecutionContext context)
Delivers the context to interested parties.
|
Modifier and Type | Method and Description |
---|---|
static SwingExecutionDisplay |
ExecutionDisplayUtils.getDisplay(ExecutionContext context)
Fetch a SwingExecutionDisplay from the ExecutionContext
|
void |
SwingExecutionFrame.processExecutionPhase(ExecutionContext context) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
SessionListSelector.canCreateIterator(ExecutionContext context)
Returns whether a new iterator can be created.
|
protected Iterator<Element> |
TimerListSelector.createIterator(ExecutionContext context)
Get the iterator to use for the iteration.
|
protected Iterator<Element> |
SessionListSelector.createIterator(ExecutionContext context)
Get the iterator to use for the iteration.
|
protected Iterator<Element> |
RandomOrderIteratedListSelector.createIterator(ExecutionContext context)
Creates an iterator that returns the elements in the group in a random order
compared to the standard order the elements have been added to the list
|
protected Iterator<Element> |
IteratedListSelector.createIterator(ExecutionContext context)
Get the iterator to use for the iteration.
|
static Object |
ElementUtils.findHandlerInStackByType(ExecutionContext context,
Class<?> type)
Finds a handler or element in the current stack by a specific type
This method searches from the top of the stack down to the root element.
|
static List<Object> |
ElementUtils.findHandlersInStackByType(ExecutionContext context,
Class<?> type)
Finds list of handlers or elements in the current stack by a specific type
This method searches from the top of the stack down to the root element.
|
TemporaryElementSupport |
TemporaryElementSupportUtil.findTemporaryElementSupport(ExecutionContext context)
Finds a TemporaryElementSupport object.
|
void |
CompoundSelector.processExecutionPhase(ExecutionContext event)
Called on phase events.
|
boolean |
TimerListSelector.selectNextElement(ExecutionContext context) |
boolean |
SessionListSelector.selectNextElement(ExecutionContext context) |
boolean |
RandomListSelector.selectNextElement(ExecutionContext executionContext) |
boolean |
IteratedListSelector.selectNextElement(ExecutionContext context) |
boolean |
CompoundSelector.selectNextElement(ExecutionContext context) |
void |
TimerListSelector.startExecution(ExecutionContext context) |
void |
ExecutionStartHandler.startExecution(ExecutionContext context) |
void |
TimerListSelector.stopExecution(ExecutionContext context) |
void |
ExecutionStartHandler.stopExecution(ExecutionContext context) |
boolean |
DefaultExecutionStrategy.updateElementStack(ExecutionContext executionContext)
Updates the stack
|
Modifier and Type | Method and Description |
---|---|
int |
TrialCountEvaluator.getTrialCount(ExecutionContext context)
Get the count for the current execution context.
|
int |
DefaultTrialCountEvaluator.getTrialCount(ExecutionContext context) |
int |
CompoundElementTrialCountEvaluator.getTrialCount(ExecutionContext context)
Returns the trial count of the baseEvaluator in case the primary element
is in the execution stack, 0 otherwise.
|
void |
TrialCountHandler.processExecutionPhase(ExecutionContext context) |
void |
StatusPanelStateHandler.processExecutionPhase(ExecutionContext event) |
void |
ExecutionFeedbackHandler.processExecutionPhase(ExecutionContext event) |
void |
ConfidenceRatingHandler.processExecutionPhase(ExecutionContext context) |
void |
KeyEventHandler.triggerKeyEvent(int keyCode,
ExecutionContext context) |
void |
EscapeKeyEventHandler.triggerKeyEvent(int keyCode,
ExecutionContext context) |
Modifier and Type | Method and Description |
---|---|
static ExecutionPauseHandler |
PauseHandlerUtil.findExecutionPauseHandler(ExecutionContext context)
Finds the deepest ExecutionpauseHandler attached to the current context.
|
void |
DefaultExecutionPauseHandler.processExecutionPhase(ExecutionContext event) |
static boolean |
PauseHandlerUtil.setCurrentInterElementPauseDuration(ExecutionContext context,
long duration)
Sets the current inter pause duration if an ExecutionHandler can be found,
does nothing otherwise.
|
Modifier and Type | Method and Description |
---|---|
void |
PointsAndLevelHandler.PointAdaptor.adaptPoints(PointsAndLevelHandler handler,
ExecutionContext context)
Adapt the passed in points.
|
void |
NullablePointAdaptor.adaptPoints(PointsAndLevelHandler handler,
ExecutionContext context) |
void |
FactorPointAdaptor.adaptPoints(PointsAndLevelHandler handler,
ExecutionContext context)
Adapts the points according to a factor.
|
abstract void |
AbstractPointAdaptor.adaptPoints(PointsAndLevelHandler handler,
ExecutionContext context)
To be implemented by subclasses.
|
protected int |
DefaultPointsAndLevelHandler.checkLevelChange(ExecutionContext context,
int currentLevel) |
protected int |
BoundaryPointsAndLevelHandler.checkLevelChange(ExecutionContext context,
int currentLevel)
Compares the current level total value to the boundary value, and adapts the level accordingly.
|
protected int |
AdaptiveScoreAndLevelHandler.checkLevelChange(ExecutionContext context,
int currentLevel) |
protected abstract int |
AbstractPointsAndLevelHandler.checkLevelChange(ExecutionContext context,
int currentLevel)
Overwrite to implement a different level/points logic.
|
protected void |
AbstractPointsAndLevelHandler.informLevelChangeListeners(ExecutionContext context)
Informs all listeners in the execution stack about a level change.
|
void |
DefaultPointsAndLevelHandler.initializeAlgorithm(ExecutionContext event)
Initializes the algorithm with the values of the DB.
|
void |
AdaptiveScoreAndLevelHandler.initializeAlgorithm(ExecutionContext event)
Initializes the algorithm with the values of the DB.
|
protected void |
DefaultPointsAndLevelHandler.initializeHandler(ExecutionContext context)
Initializes the algorithm with the values of the DB at session start
|
protected void |
BoundaryPointsAndLevelHandler.initializeHandler(ExecutionContext context) |
protected void |
AdaptiveScoreAndLevelHandler.initializeHandler(ExecutionContext context)
Initializes the algorithm with the values of the DB at session start
|
protected abstract void |
AbstractPointsAndLevelHandler.initializeHandler(ExecutionContext context) |
protected void |
UserFeedbackLevelListener.insertLevelChangeInformationElement(ExecutionContext context,
int levelChange)
Displays a visual level change.
|
void |
UserFeedbackLevelListener.levelChanged(PointsAndLevelHandler handler,
ExecutionContext context) |
void |
PointsAndLevelHandler.LevelListener.levelChanged(PointsAndLevelHandler handler,
ExecutionContext context)
Implementors get called by the PointsAndLevelHandler whenever the level changes.
|
void |
AbstractPointsAndLevelHandler.processExecutionPhase(ExecutionContext context)
Called by the Executor to signal a new phase in the execution
|
protected void |
AbstractPointsAndLevelHandler.processLevel(ExecutionContext context)
Checks for level changes.
|
protected void |
AbstractPointsAndLevelHandler.processPoints(ExecutionContext context)
Processes the points set by the executable element.
|
protected void |
AbstractPointsAndLevelHandler.updateStatusRegion(ExecutionContext context)
Updates the level status panel.
|
protected void |
BoundaryPointsAndLevelHandler.updateTotals(ExecutionContext context)
Overridden to also adapt the current level total
|
protected void |
AbstractPointsAndLevelHandler.updateTotals(ExecutionContext context) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultAdaptiveTimeoutHandler.adaptTimeoutDuration(ExecutionContext event)
Individually adapts the timer.
|
void |
AdaptiveTimeoutHandler.adaptTimeoutDuration(ExecutionContext event) |
void |
DefaultAdaptiveTimeoutHandler.decreaseTimeoutDuration(ExecutionContext event)
Reduces the timer by the factor f with a minimum of minDuration
|
void |
AdaptiveTimeoutHandler.decreaseTimeoutDuration(ExecutionContext event) |
long |
DefaultAdaptiveTimeoutHandler.getSamplesDuration(ExecutionContext event)
Gets the reaction time of the n last trials (n=maxSamples) and calculates
the 3rd quartile
|
void |
DefaultAdaptiveTimeoutHandler.increaseTimeoutDuration(ExecutionContext event)
Increases the timer by the factor f with a maximum of maxDuration
|
void |
AdaptiveTimeoutHandler.increaseTimeoutDuration(ExecutionContext event) |
void |
DefaultVisualTimeoutHandler.processExecutionPhase(ExecutionContext event) |
void |
DefaultTimeoutHandler.processExecutionPhase(ExecutionContext context) |
void |
DefaultAdaptiveTimeoutHandler.processExecutionPhase(ExecutionContext context) |
void |
DefaultAdaptiveTimeoutHandler.resetTimeoutDuration(ExecutionContext event)
Sets the duration of the timer to maxDuration
|
void |
AdaptiveTimeoutHandler.resetTimeoutDuration(ExecutionContext event) |
void |
TimeoutHandler.startTimeout(ExecutionContext context) |
void |
DefaultVisualTimeoutHandler.startTimeout(ExecutionContext context) |
void |
DefaultTimeoutHandler.startTimeout(ExecutionContext context)
Starts the timer.
|
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
NonBlockingAWTExecutable.getExecutionContext() |
ExecutionContext |
BlockingExecutable.getExecutionContext() |
Modifier and Type | Method and Description |
---|---|
void |
QuestionnaireExecutable.processExecutionPhase(ExecutionContext context) |
void |
AbstractHTMLExecutable.processExecutionPhase(ExecutionContext context) |
void |
NonBlockingAWTExecutable.setExecutionContext(ExecutionContext executionContext) |
void |
BlockingExecutable.setExecutionContext(ExecutionContext executionContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
ElementSelector.selectNextElement(ExecutionContext executionContext)
Called on the top element of the stack.
|
void |
Executable.setExecutionContext(ExecutionContext context)
Set the execution context.
|
boolean |
ExecutionStrategy.updateElementStack(ExecutionContext executionContext)
Update the stack with the next element for execution.
|
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
Executor.getExecutionContext() |
Modifier and Type | Method and Description |
---|---|
void |
PhaseListenerManager.informListeners(ExecutionContext context)
Delivers a phase event to all applicable listeners.
|
void |
ExecutionPhaseListener.processExecutionPhase(ExecutionContext context)
Called by the Executor to signal an element execution context
|
void |
PhaseRunnable.run(ExecutionContext context)
Execute the element and return an outcome.
|
Copyright © 2013. All Rights Reserved.