Interface IDtoProductionJob
- All Superinterfaces:
IDtoAbstractJob
- All Known Implementing Classes:
DtoProductionJob
A production job that runs some task and may depend on other jobs. It will lead to one disqualifiedJob (if it could not be produced) or one allocation (containing the chosen time, device etc.) in result.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionThe capacity that this job blocks (if the device has a capacity).Quantities of materials that are consumed by this job.getId()Unique identifier among all DtoAbstractJobs.Quantities of materials that are generated by this job.getTask()Details about the task that must be run to complete this job.Constraints on some times inside this job, like an earliest start time or a latest end time.getType()Type discriminatorvoidsetCapacityRequirement(IDtoCapacityRequirement capacityRequirement) The capacity that this job blocks (if the device has a capacity).voidsetConsumedMaterials(IDtoMaterialConsumption[] consumedMaterials) Quantities of materials that are consumed by this job.voidUnique identifier among all DtoAbstractJobs.voidsetProducedMaterials(IDtoMaterialProduction[] producedMaterials) Quantities of materials that are generated by this job.voidsetTask(IDtoTaskRequirement task) Details about the task that must be run to complete this job.voidsetTimeBoundaries(IDtoTimeBoundary[] timeBoundaries) Constraints on some times inside this job, like an earliest start time or a latest end time.
-
Field Details
-
_DISCRIMINATOR_TYPE_NAME
- See Also:
-
-
Method Details
-
getType
String getType()Type discriminator- Specified by:
getTypein interfaceIDtoAbstractJob
-
getId
String getId()Unique identifier among all DtoAbstractJobs.- Specified by:
getIdin interfaceIDtoAbstractJob
-
setId
Unique identifier among all DtoAbstractJobs.- Specified by:
setIdin interfaceIDtoAbstractJob
-
getTask
IDtoTaskRequirement getTask()Details about the task that must be run to complete this job. -
setTask
Details about the task that must be run to complete this job. -
getCapacityRequirement
IDtoCapacityRequirement getCapacityRequirement()The capacity that this job blocks (if the device has a capacity). If nil, the whole device is blocked. -
setCapacityRequirement
The capacity that this job blocks (if the device has a capacity). If nil, the whole device is blocked. -
getTimeBoundaries
IDtoTimeBoundary[] getTimeBoundaries()Constraints on some times inside this job, like an earliest start time or a latest end time. -
setTimeBoundaries
Constraints on some times inside this job, like an earliest start time or a latest end time. -
getProducedMaterials
IDtoMaterialProduction[] getProducedMaterials()Quantities of materials that are generated by this job. -
setProducedMaterials
Quantities of materials that are generated by this job. -
getConsumedMaterials
IDtoMaterialConsumption[] getConsumedMaterials()Quantities of materials that are consumed by this job. -
setConsumedMaterials
Quantities of materials that are consumed by this job.
-