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

java.lang.Object
  extended by net.commerce.zocalo.experiment.states.JudgingSessionState.NoAction
      extended by net.commerce.zocalo.experiment.states.JudgingSessionState.JudgingTradingState
All Implemented Interfaces:
JudgingSessionState, SessionState
Enclosing interface:
JudgingSessionState

public static class JudgingSessionState.JudgingTradingState
extends JudgingSessionState.NoAction


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
 
Fields inherited from class net.commerce.zocalo.experiment.states.JudgingSessionState.NoAction
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.JudgingTradingState(java.lang.Object secret)
           
 
Method Summary
 boolean endTrading(TransitionAdaptor adaptor)
           
 void informTrading(StatusAdaptor adaptor)
           
 boolean replaceNextState(java.lang.Object secret, JudgingSessionState next)
           
 java.lang.String transitionMessage()
           
 
Methods inherited from class net.commerce.zocalo.experiment.states.JudgingSessionState.NoAction
endJudging, informInitialized, informJudging, informShowingScores, nextJudgingState, nextState, startNextRound
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JudgingSessionState.JudgingTradingState

public JudgingSessionState.JudgingTradingState(java.lang.Object secret)
Method Detail

endTrading

public boolean endTrading(TransitionAdaptor adaptor)
Specified by:
endTrading in interface JudgingSessionState
Specified by:
endTrading in interface SessionState
Overrides:
endTrading in class JudgingSessionState.NoAction

informTrading

public void informTrading(StatusAdaptor adaptor)
Specified by:
informTrading in interface JudgingSessionState
Specified by:
informTrading in interface SessionState
Overrides:
informTrading in class JudgingSessionState.NoAction

transitionMessage

public java.lang.String transitionMessage()

replaceNextState

public boolean replaceNextState(java.lang.Object secret,
                                JudgingSessionState next)