Class DtoUnschedulableJobDisqualification
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoUnschedulableJobDisqualification
- All Implemented Interfaces:
IDtoAbstractJobDisqualification,IDtoUnschedulableJobDisqualification
public class DtoUnschedulableJobDisqualification
extends Object
implements IDtoUnschedulableJobDisqualification
(has to be decided in engine) This Disqualification triggers as a fail safe if a job cannot be scheduled due to some other reason (possibly due to not enough tools or workers being available because of infinitely long constraints)
-
Field Summary
Fields inherited from interface com.vernaio.kayros.engine.v2.api.dto.IDtoUnschedulableJobDisqualification
_DISCRIMINATOR_TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoUnschedulableJobDisqualification(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
-
DtoUnschedulableJobDisqualification
protected DtoUnschedulableJobDisqualification() -
DtoUnschedulableJobDisqualification
-
-
Method Details
-
getType
Type discriminator- Specified by:
getTypein interfaceIDtoAbstractJobDisqualification- Specified by:
getTypein interfaceIDtoUnschedulableJobDisqualification
-
getProductionJobs
The ids of the disqualified jobs. There will be no result allocation(s) for these.- Specified by:
getProductionJobsin interfaceIDtoAbstractJobDisqualification- Specified by:
getProductionJobsin interfaceIDtoUnschedulableJobDisqualification
-
setProductionJobs
The ids of the disqualified jobs. There will be no result allocation(s) for these.- Specified by:
setProductionJobsin interfaceIDtoAbstractJobDisqualification- Specified by:
setProductionJobsin interfaceIDtoUnschedulableJobDisqualification
-
withProductionJobs
The ids of the disqualified jobs. There will be no result allocation(s) for these. -
equals
-
hashCode
public int hashCode()
-