org.zeroexchange.flow.collaboration.step
Class AbstractStep
java.lang.Object
org.zeroexchange.flow.collaboration.step.AbstractStep
- All Implemented Interfaces:
- ContractFlowStep
- Direct Known Subclasses:
- ExecutedStep, UncompletedStep
public abstract class AbstractStep
- extends Object
- implements ContractFlowStep
Abstract implementation of the contract flow step processor.
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractStep
public AbstractStep()
nextStep
public ContractStatus nextStep(Contract contract)
- Returns the next step for the contract
- Specified by:
nextStep
in interface ContractFlowStep
calculateNextNearestStep
protected abstract ContractStatus calculateNextNearestStep(Contract contract)
- Calculates the next state of the specified contract.
Copyright © 2013. All Rights Reserved.