org.zeroexchange.flow.collaboration.step
Class ReadyStep

java.lang.Object
  extended by org.zeroexchange.flow.collaboration.step.AbstractStep
      extended by org.zeroexchange.flow.collaboration.step.UncompletedStep
          extended by org.zeroexchange.flow.collaboration.step.ReadyStep
All Implemented Interfaces:
ContractFlowStep

public class ReadyStep
extends UncompletedStep

READY -> EXECUTED READY -> UNCOMPLETED

Author:
black

Constructor Summary
ReadyStep()
           
 
Method Summary
protected  ContractStatus calculateNextNearestStep(Contract contract)
          Calculates the next state of the specified contract.
protected  List<User> getCollaborators(Contract contract)
          Returns contract's collaborators.
 ContractStatus getProcessingStatus()
          Returns the step current processor can process.
 
Methods inherited from class org.zeroexchange.flow.collaboration.step.AbstractStep
nextStep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadyStep

public ReadyStep()
Method Detail

getProcessingStatus

public ContractStatus getProcessingStatus()
Returns the step current processor can process.

Specified by:
getProcessingStatus in interface ContractFlowStep
Overrides:
getProcessingStatus in class UncompletedStep

calculateNextNearestStep

protected ContractStatus calculateNextNearestStep(Contract contract)
Calculates the next state of the specified contract.

Overrides:
calculateNextNearestStep in class UncompletedStep

getCollaborators

protected List<User> getCollaborators(Contract contract)
Returns contract's collaborators.



Copyright © 2013. All Rights Reserved.