Class DtoTimeBoundary
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoTimeBoundary
- All Implemented Interfaces:
IDtoTimeBoundary
A time constraint on a job, forcing it to start/startOfRun/end after some lower bound or prefering it to start/... before some upper bound.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe time during the realization of the job that may not be chosen freely.The referenced time may only be after this lowerBound.If the referenced time is after this upperBound, the job counts as a late job.inthashCode()voidThe time during the realization of the job that may not be chosen freely.voidsetLowerBound(Long lowerBound) The referenced time may only be after this lowerBound.voidsetUpperBound(Long upperBound) If the referenced time is after this upperBound, the job counts as a late job.The time during the realization of the job that may not be chosen freely.withLowerBound(Long lowerBound) The referenced time may only be after this lowerBound.withUpperBound(Long upperBound) If the referenced time is after this upperBound, the job counts as a late job.
-
Constructor Details
-
DtoTimeBoundary
protected DtoTimeBoundary() -
DtoTimeBoundary
-
-
Method Details
-
getAnchor
The time during the realization of the job that may not be chosen freely.- Specified by:
getAnchorin interfaceIDtoTimeBoundary
-
setAnchor
The time during the realization of the job that may not be chosen freely.- Specified by:
setAnchorin interfaceIDtoTimeBoundary
-
getLowerBound
The referenced time may only be after this lowerBound.- Specified by:
getLowerBoundin interfaceIDtoTimeBoundary
-
setLowerBound
The referenced time may only be after this lowerBound.- Specified by:
setLowerBoundin interfaceIDtoTimeBoundary
-
getUpperBound
If the referenced time is after this upperBound, the job counts as a late job.- Specified by:
getUpperBoundin interfaceIDtoTimeBoundary
-
setUpperBound
If the referenced time is after this upperBound, the job counts as a late job.- Specified by:
setUpperBoundin interfaceIDtoTimeBoundary
-
withAnchor
The time during the realization of the job that may not be chosen freely. -
withLowerBound
The referenced time may only be after this lowerBound. -
withUpperBound
If the referenced time is after this upperBound, the job counts as a late job. -
equals
-
hashCode
public int hashCode()
-