Class DtoJobDependency
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoJobDependency
- All Implemented Interfaces:
IDtoJobDependency
Indicates that some job (successor) may only start (or start-of-run or similar) after some other job (predecessor) is finished or has progressed enough.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanUpper bound on the duration between predecessorTime and successorTime for successor to be considered on time, i.e.Lower bound on the duration between predecessorTime and successorTimethe job that has to be finished or progressed enough.specifies the go ahead point in time during setup or execution of the predecessorthe job that depends on predecessor.specifies the time in successor that has to be after or at predecessorTime + max(minimalBuffer, transportation)inthashCode()voidsetMaximalBuffer(Long maximalBuffer) Upper bound on the duration between predecessorTime and successorTime for successor to be considered on time, i.e.voidsetMinimalBuffer(Long minimalBuffer) Lower bound on the duration between predecessorTime and successorTimevoidsetPredecessor(String predecessor) the job that has to be finished or progressed enough.voidsetPredecessorAnchor(IDtoAbstractAllocationAnchor predecessorAnchor) specifies the go ahead point in time during setup or execution of the predecessorvoidsetSuccessor(String successor) the job that depends on predecessor.voidsetSuccessorAnchor(IDtoAbstractAllocationAnchor successorAnchor) specifies the time in successor that has to be after or at predecessorTime + max(minimalBuffer, transportation)withMaximalBuffer(Long maximalBuffer) Upper bound on the duration between predecessorTime and successorTime for successor to be considered on time, i.e.withMinimalBuffer(Long minimalBuffer) Lower bound on the duration between predecessorTime and successorTimewithPredecessor(String predecessor) the job that has to be finished or progressed enough.withPredecessorAnchor(IDtoAbstractAllocationAnchor predecessorAnchor) specifies the go ahead point in time during setup or execution of the predecessorwithSuccessor(String successor) the job that depends on predecessor.withSuccessorAnchor(IDtoAbstractAllocationAnchor successorAnchor) specifies the time in successor that has to be after or at predecessorTime + max(minimalBuffer, transportation)
-
Constructor Details
-
DtoJobDependency
protected DtoJobDependency() -
DtoJobDependency
-
-
Method Details
-
getPredecessor
the job that has to be finished or progressed enough.- Specified by:
getPredecessorin interfaceIDtoJobDependency
-
setPredecessor
the job that has to be finished or progressed enough.- Specified by:
setPredecessorin interfaceIDtoJobDependency
-
getSuccessor
the job that depends on predecessor.- Specified by:
getSuccessorin interfaceIDtoJobDependency
-
setSuccessor
the job that depends on predecessor.- Specified by:
setSuccessorin interfaceIDtoJobDependency
-
getPredecessorAnchor
specifies the go ahead point in time during setup or execution of the predecessor- Specified by:
getPredecessorAnchorin interfaceIDtoJobDependency
-
setPredecessorAnchor
specifies the go ahead point in time during setup or execution of the predecessor- Specified by:
setPredecessorAnchorin interfaceIDtoJobDependency
-
getSuccessorAnchor
specifies the time in successor that has to be after or at predecessorTime + max(minimalBuffer, transportation)- Specified by:
getSuccessorAnchorin interfaceIDtoJobDependency
-
setSuccessorAnchor
specifies the time in successor that has to be after or at predecessorTime + max(minimalBuffer, transportation)- Specified by:
setSuccessorAnchorin interfaceIDtoJobDependency
-
getMinimalBuffer
Lower bound on the duration between predecessorTime and successorTime- Specified by:
getMinimalBufferin interfaceIDtoJobDependency
-
setMinimalBuffer
Lower bound on the duration between predecessorTime and successorTime- Specified by:
setMinimalBufferin interfaceIDtoJobDependency
-
getMaximalBuffer
Upper bound on the duration between predecessorTime and successorTime for successor to be considered on time, i.e. enforced as additional latestEndTime on successor. If not set, there is no upper bound.- Specified by:
getMaximalBufferin interfaceIDtoJobDependency
-
setMaximalBuffer
Upper bound on the duration between predecessorTime and successorTime for successor to be considered on time, i.e. enforced as additional latestEndTime on successor. If not set, there is no upper bound.- Specified by:
setMaximalBufferin interfaceIDtoJobDependency
-
withPredecessor
the job that has to be finished or progressed enough. -
withSuccessor
the job that depends on predecessor. -
withPredecessorAnchor
specifies the go ahead point in time during setup or execution of the predecessor -
withSuccessorAnchor
specifies the time in successor that has to be after or at predecessorTime + max(minimalBuffer, transportation) -
withMinimalBuffer
Lower bound on the duration between predecessorTime and successorTime -
withMaximalBuffer
Upper bound on the duration between predecessorTime and successorTime for successor to be considered on time, i.e. enforced as additional latestEndTime on successor. If not set, there is no upper bound. -
equals
-
hashCode
public int hashCode()
-