Class DtoFixedJob
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoFixedJob
- All Implemented Interfaces:
IDtoAbstractJob,IDtoFixedJob
Times on a device alredy reserved for some production or cleaning or other device-state-modifying interruptions. Before this FixedJob, a deviceState will need to be set up; allocations afterwards will setup relative to this state.
-
Field Summary
Fields inherited from interface com.vernaio.kayros.engine.v2.api.dto.IDtoFixedJob
_DISCRIMINATOR_TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoFixedJob(String id, String device, IDtoDeviceState setupDeviceState, Long anchorTime, Long runDuration, Double runCost) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe fixed point in the execution of this fixedJob.Fix the anchor to this time.The capacity that this job blocks (if the device has capacity).The device on which this job runs.getId()Unique identifier among all DtoAbstractJobs.The allocation for this is allowed to be paused during reservations (during setup, run and teardown) and will resume afterwards.Skills of operators that this allocation needs.Quantities of materials that are generated by this job.Cost of this job execution.The deviceState that is established at runStart and lasts at least until runEnd.The deviceState that needs to be established after runEnd.Tools that this allocation blocks.getType()Type discriminatorinthashCode()voidThe fixed point in the execution of this fixedJob.voidsetAnchorTime(Long anchorTime) Fix the anchor to this time.voidsetCapacityRequirement(IDtoCapacityRequirement capacityRequirement) The capacity that this job blocks (if the device has capacity).voidThe device on which this job runs.voidUnique identifier among all DtoAbstractJobs.voidsetInterruptible(Boolean interruptible) The allocation for this is allowed to be paused during reservations (during setup, run and teardown) and will resume afterwards.voidsetOperatorRequirements(IDtoOperatorRequirement[] operatorRequirements) Skills of operators that this allocation needs.voidsetProducedMaterials(IDtoMaterialProduction[] producedMaterials) Quantities of materials that are generated by this job.voidsetRunCost(Double runCost) Cost of this job execution.voidsetRunDuration(Long runDuration) voidsetSetupDeviceState(IDtoDeviceState setupDeviceState) The deviceState that is established at runStart and lasts at least until runEnd.voidsetTeardownDeviceState(IDtoDeviceState teardownDeviceState) The deviceState that needs to be established after runEnd.voidsetToolRequirements(IDtoToolRequirement[] toolRequirements) Tools that this allocation blocks.The fixed point in the execution of this fixedJob.withAnchorTime(Long anchorTime) Fix the anchor to this time.withCapacityRequirement(IDtoCapacityRequirement capacityRequirement) The capacity that this job blocks (if the device has capacity).withDevice(String device) The device on which this job runs.Unique identifier among all DtoAbstractJobs.withInterruptible(Boolean interruptible) The allocation for this is allowed to be paused during reservations (during setup, run and teardown) and will resume afterwards.withOperatorRequirements(IDtoOperatorRequirement[] operatorRequirements) Skills of operators that this allocation needs.withProducedMaterials(IDtoMaterialProduction[] producedMaterials) Quantities of materials that are generated by this job.withRunCost(Double runCost) Cost of this job execution.withRunDuration(Long runDuration) withSetupDeviceState(IDtoDeviceState setupDeviceState) The deviceState that is established at runStart and lasts at least until runEnd.withTeardownDeviceState(IDtoDeviceState teardownDeviceState) The deviceState that needs to be established after runEnd.withToolRequirements(IDtoToolRequirement[] toolRequirements) Tools that this allocation blocks.
-
Constructor Details
-
DtoFixedJob
protected DtoFixedJob() -
DtoFixedJob
-
-
Method Details
-
getType
Type discriminator- Specified by:
getTypein interfaceIDtoAbstractJob- Specified by:
getTypein interfaceIDtoFixedJob
-
getId
Unique identifier among all DtoAbstractJobs.- Specified by:
getIdin interfaceIDtoAbstractJob- Specified by:
getIdin interfaceIDtoFixedJob
-
setId
Unique identifier among all DtoAbstractJobs.- Specified by:
setIdin interfaceIDtoAbstractJob- Specified by:
setIdin interfaceIDtoFixedJob
-
getDevice
The device on which this job runs.- Specified by:
getDevicein interfaceIDtoFixedJob
-
setDevice
The device on which this job runs.- Specified by:
setDevicein interfaceIDtoFixedJob
-
getSetupDeviceState
The deviceState that is established at runStart and lasts at least until runEnd. Special char $ is not allowed.- Specified by:
getSetupDeviceStatein interfaceIDtoFixedJob
-
setSetupDeviceState
The deviceState that is established at runStart and lasts at least until runEnd. Special char $ is not allowed.- Specified by:
setSetupDeviceStatein interfaceIDtoFixedJob
-
getTeardownDeviceState
The deviceState that needs to be established after runEnd. Special char $ is not allowed. If not present, the allocation will not have a teardown.- Specified by:
getTeardownDeviceStatein interfaceIDtoFixedJob
-
setTeardownDeviceState
The deviceState that needs to be established after runEnd. Special char $ is not allowed. If not present, the allocation will not have a teardown.- Specified by:
setTeardownDeviceStatein interfaceIDtoFixedJob
-
getAnchor
The fixed point in the execution of this fixedJob.- Specified by:
getAnchorin interfaceIDtoFixedJob
-
setAnchor
The fixed point in the execution of this fixedJob.- Specified by:
setAnchorin interfaceIDtoFixedJob
-
getAnchorTime
Fix the anchor to this time.- Specified by:
getAnchorTimein interfaceIDtoFixedJob
-
setAnchorTime
Fix the anchor to this time.- Specified by:
setAnchorTimein interfaceIDtoFixedJob
-
getRunDuration
- Specified by:
getRunDurationin interfaceIDtoFixedJob
-
setRunDuration
- Specified by:
setRunDurationin interfaceIDtoFixedJob
-
getRunCost
Cost of this job execution.- Specified by:
getRunCostin interfaceIDtoFixedJob
-
setRunCost
Cost of this job execution.- Specified by:
setRunCostin interfaceIDtoFixedJob
-
getInterruptible
The allocation for this is allowed to be paused during reservations (during setup, run and teardown) and will resume afterwards.- Specified by:
getInterruptiblein interfaceIDtoFixedJob
-
setInterruptible
The allocation for this is allowed to be paused during reservations (during setup, run and teardown) and will resume afterwards.- Specified by:
setInterruptiblein interfaceIDtoFixedJob
-
getCapacityRequirement
The capacity that this job blocks (if the device has capacity). If nil, the whole device is blocked.- Specified by:
getCapacityRequirementin interfaceIDtoFixedJob
-
setCapacityRequirement
The capacity that this job blocks (if the device has capacity). If nil, the whole device is blocked.- Specified by:
setCapacityRequirementin interfaceIDtoFixedJob
-
getToolRequirements
Tools that this allocation blocks.- Specified by:
getToolRequirementsin interfaceIDtoFixedJob
-
setToolRequirements
Tools that this allocation blocks.- Specified by:
setToolRequirementsin interfaceIDtoFixedJob
-
getOperatorRequirements
Skills of operators that this allocation needs.- Specified by:
getOperatorRequirementsin interfaceIDtoFixedJob
-
setOperatorRequirements
Skills of operators that this allocation needs.- Specified by:
setOperatorRequirementsin interfaceIDtoFixedJob
-
getProducedMaterials
Quantities of materials that are generated by this job.- Specified by:
getProducedMaterialsin interfaceIDtoFixedJob
-
setProducedMaterials
Quantities of materials that are generated by this job.- Specified by:
setProducedMaterialsin interfaceIDtoFixedJob
-
withId
Unique identifier among all DtoAbstractJobs. -
withDevice
The device on which this job runs. -
withSetupDeviceState
The deviceState that is established at runStart and lasts at least until runEnd. Special char $ is not allowed. -
withTeardownDeviceState
The deviceState that needs to be established after runEnd. Special char $ is not allowed. If not present, the allocation will not have a teardown. -
withAnchor
The fixed point in the execution of this fixedJob. -
withAnchorTime
Fix the anchor to this time. -
withRunDuration
-
withRunCost
Cost of this job execution. -
withInterruptible
The allocation for this is allowed to be paused during reservations (during setup, run and teardown) and will resume afterwards. -
withCapacityRequirement
The capacity that this job blocks (if the device has capacity). If nil, the whole device is blocked. -
withToolRequirements
Tools that this allocation blocks. -
withOperatorRequirements
Skills of operators that this allocation needs. -
withProducedMaterials
Quantities of materials that are generated by this job. -
equals
-
hashCode
public int hashCode()
-