net.commerce.zocalo.experiment.states
Class JudgingSessionState.NoAction

java.lang.Object
  extended by net.commerce.zocalo.experiment.states.JudgingSessionState.NoAction
All Implemented Interfaces:
JudgingSessionState, SessionState
Direct Known Subclasses:
JudgingSessionState.JudgingInitializedState, JudgingSessionState.JudgingScoringState, JudgingSessionState.JudgingState, JudgingSessionState.JudgingTradingState
Enclosing interface:
JudgingSessionState

public abstract static class JudgingSessionState.NoAction
extends java.lang.Object
implements SessionState, JudgingSessionState


Nested Class Summary
 
Nested classes/interfaces inherited from interface net.commerce.zocalo.experiment.states.SessionState
SessionState.InitializedState, SessionState.NoAction, SessionState.ScoringState, SessionState.TradingState
 
Nested classes/interfaces inherited from interface net.commerce.zocalo.experiment.states.JudgingSessionState
JudgingSessionState.JudgingInitializedState, JudgingSessionState.JudgingScoringState, JudgingSessionState.JudgingState, JudgingSessionState.JudgingTradingState, JudgingSessionState.NoAction
 
Field Summary
protected  JudgingSessionState nextState
           
 
Fields inherited from interface net.commerce.zocalo.experiment.states.SessionState
CANNOT_START_ROUND, NOT_RUNNING
 
Fields inherited from interface net.commerce.zocalo.experiment.states.JudgingSessionState
NOT_AWAITING_FORECASTS
 
Constructor Summary
JudgingSessionState.NoAction(JudgingSessionState next)
           
 
Method Summary
 boolean endJudging(JudgingTransitionAdaptor adaptor)
           
 boolean endTrading(TransitionAdaptor adaptor)
           
 void informInitialized(StatusAdaptor adaptor)
           
 void informJudging(JudgingStatusAdaptor adaptor)
           
 void informShowingScores(StatusAdaptor adaptor)
           
 void informTrading(StatusAdaptor adaptor)
           
 JudgingSessionState nextJudgingState()
           
 SessionState nextState()
           
 boolean startNextRound(TransitionAdaptor adaptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.commerce.zocalo.experiment.states.SessionState
transitionMessage
 
Methods inherited from interface net.commerce.zocalo.experiment.states.JudgingSessionState
transitionMessage
 

Field Detail

nextState

protected JudgingSessionState nextState
Constructor Detail

JudgingSessionState.NoAction

public JudgingSessionState.NoAction(JudgingSessionState next)
Method Detail

informInitialized

public void informInitialized(StatusAdaptor adaptor)
Specified by:
informInitialized in interface JudgingSessionState
Specified by:
informInitialized in interface SessionState

informTrading

public void informTrading(StatusAdaptor adaptor)
Specified by:
informTrading in interface JudgingSessionState
Specified by:
informTrading in interface SessionState

informShowingScores

public void informShowingScores(StatusAdaptor adaptor)
Specified by:
informShowingScores in interface JudgingSessionState
Specified by:
informShowingScores in interface SessionState

informJudging

public void informJudging(JudgingStatusAdaptor adaptor)
                   throws ScoreException
Specified by:
informJudging in interface JudgingSessionState
Throws:
ScoreException

nextState

public SessionState nextState()
Specified by:
nextState in interface SessionState

nextJudgingState

public JudgingSessionState nextJudgingState()
Specified by:
nextJudgingState in interface JudgingSessionState

startNextRound

public boolean startNextRound(TransitionAdaptor adaptor)
Specified by:
startNextRound in interface JudgingSessionState
Specified by:
startNextRound in interface SessionState

endTrading

public boolean endTrading(TransitionAdaptor adaptor)
Specified by:
endTrading in interface JudgingSessionState
Specified by:
endTrading in interface SessionState

endJudging

public boolean endJudging(JudgingTransitionAdaptor adaptor)
Specified by:
endJudging in interface JudgingSessionState