Class DtoRelatedJobDisqualification
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoRelatedJobDisqualification
- All Implemented Interfaces:
IDtoAbstractJobDisqualification,IDtoRelatedJobDisqualification
(decided in engine or before, depending on originator) This Disqualification triggers if a productionJob cannot reasonably be qualified because some other job is disqualified
-
Field Summary
Fields inherited from interface com.vernaio.kayros.engine.v2.api.dto.IDtoRelatedJobDisqualification
_DISCRIMINATOR_TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoRelatedJobDisqualification(String[] productionJobs, String originator, IDtoAbstractJobRelation relation) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe id of an originally disqualified job that this job cannot be qualified withoutString[]The ids of the disqualified jobs.The reason why this job cannot reasonably be scheduled without the originatorgetType()Type discriminatorinthashCode()voidsetOriginator(String originator) The id of an originally disqualified job that this job cannot be qualified withoutvoidsetProductionJobs(String[] productionJobs) The ids of the disqualified jobs.voidsetRelation(IDtoAbstractJobRelation relation) The reason why this job cannot reasonably be scheduled without the originatorwithOriginator(String originator) The id of an originally disqualified job that this job cannot be qualified withoutwithProductionJobs(String[] productionJobs) The ids of the disqualified jobs.withRelation(IDtoAbstractJobRelation relation) The reason why this job cannot reasonably be scheduled without the originator
-
Constructor Details
-
DtoRelatedJobDisqualification
protected DtoRelatedJobDisqualification() -
DtoRelatedJobDisqualification
public DtoRelatedJobDisqualification(String[] productionJobs, String originator, IDtoAbstractJobRelation relation)
-
-
Method Details
-
getType
Type discriminator- Specified by:
getTypein interfaceIDtoAbstractJobDisqualification- Specified by:
getTypein interfaceIDtoRelatedJobDisqualification
-
getProductionJobs
The ids of the disqualified jobs. There will be no result allocation(s) for these.- Specified by:
getProductionJobsin interfaceIDtoAbstractJobDisqualification- Specified by:
getProductionJobsin interfaceIDtoRelatedJobDisqualification
-
setProductionJobs
The ids of the disqualified jobs. There will be no result allocation(s) for these.- Specified by:
setProductionJobsin interfaceIDtoAbstractJobDisqualification- Specified by:
setProductionJobsin interfaceIDtoRelatedJobDisqualification
-
getOriginator
The id of an originally disqualified job that this job cannot be qualified without- Specified by:
getOriginatorin interfaceIDtoRelatedJobDisqualification
-
setOriginator
The id of an originally disqualified job that this job cannot be qualified without- Specified by:
setOriginatorin interfaceIDtoRelatedJobDisqualification
-
getRelation
The reason why this job cannot reasonably be scheduled without the originator- Specified by:
getRelationin interfaceIDtoRelatedJobDisqualification
-
setRelation
The reason why this job cannot reasonably be scheduled without the originator- Specified by:
setRelationin interfaceIDtoRelatedJobDisqualification
-
withProductionJobs
The ids of the disqualified jobs. There will be no result allocation(s) for these. -
withOriginator
The id of an originally disqualified job that this job cannot be qualified without -
withRelation
The reason why this job cannot reasonably be scheduled without the originator -
equals
-
hashCode
public int hashCode()
-