Class DtoMissingTransportationJobDisqualification
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoMissingTransportationJobDisqualification
- All Implemented Interfaces:
IDtoAbstractJobDisqualification,IDtoMissingTransportationJobDisqualification
public class DtoMissingTransportationJobDisqualification
extends Object
implements IDtoMissingTransportationJobDisqualification
(can be decided before engine) This Disqualification triggers if not all of a job's (chains of) predecessors can be assigned to devices such that transportations exist. Not being disqualified here does not mean that the whole remaining dependency-lattice can be assigned to transport-possible devices, it just means that further disqualifications due to missing transportations could require some choice of device. All Jobs possible devices will be restricted to devices that do not UNNECESSARILY disqualify some successor job.
-
Field Summary
Fields inherited from interface com.vernaio.kayros.engine.v2.api.dto.IDtoMissingTransportationJobDisqualification
_DISCRIMINATOR_TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoMissingTransportationJobDisqualification(String[] productionJobs) -
Method Summary
Modifier and TypeMethodDescriptionbooleanString[]The ids of the disqualified jobs.getType()Type discriminatorinthashCode()voidsetProductionJobs(String[] productionJobs) The ids of the disqualified jobs.withProductionJobs(String[] productionJobs) The ids of the disqualified jobs.
-
Constructor Details
-
DtoMissingTransportationJobDisqualification
protected DtoMissingTransportationJobDisqualification() -
DtoMissingTransportationJobDisqualification
-
-
Method Details
-
getType
Type discriminator- Specified by:
getTypein interfaceIDtoAbstractJobDisqualification- Specified by:
getTypein interfaceIDtoMissingTransportationJobDisqualification
-
getProductionJobs
The ids of the disqualified jobs. There will be no result allocation(s) for these.- Specified by:
getProductionJobsin interfaceIDtoAbstractJobDisqualification- Specified by:
getProductionJobsin interfaceIDtoMissingTransportationJobDisqualification
-
setProductionJobs
The ids of the disqualified jobs. There will be no result allocation(s) for these.- Specified by:
setProductionJobsin interfaceIDtoAbstractJobDisqualification- Specified by:
setProductionJobsin interfaceIDtoMissingTransportationJobDisqualification
-
withProductionJobs
The ids of the disqualified jobs. There will be no result allocation(s) for these. -
equals
-
hashCode
public int hashCode()
-