org.zeroexchange.flow.collaboration.step
Class ReadyStep
java.lang.Object
org.zeroexchange.flow.collaboration.step.AbstractStep
org.zeroexchange.flow.collaboration.step.UncompletedStep
org.zeroexchange.flow.collaboration.step.ReadyStep
- All Implemented Interfaces:
- ContractFlowStep
public class ReadyStep
- extends UncompletedStep
READY -> EXECUTED
READY -> UNCOMPLETED
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadyStep
public ReadyStep()
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.