Class DtoCyclicJobSequenceDependenciesJobDisqualification
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoCyclicJobSequenceDependenciesJobDisqualification
- All Implemented Interfaces:
IDtoAbstractJobDisqualification,IDtoCyclicJobSequenceDependenciesJobDisqualification
public class DtoCyclicJobSequenceDependenciesJobDisqualification
extends Object
implements IDtoCyclicJobSequenceDependenciesJobDisqualification
(can be decided before engine) This Disqualification triggers if the jobDependencies do not enforce an acyclic happens-before-relationship on the JobSequences (wrapping un-sequenced Jobs in single-job-sequences). This includes maybe even validly schedulable 'locked' jobSequences like e.g. sequence(A,B), un-sequenced job C, dependencies A before C, C before B.
-
Field Summary
Fields inherited from interface com.vernaio.kayros.engine.v2.api.dto.IDtoCyclicJobSequenceDependenciesJobDisqualification
_DISCRIMINATOR_TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoCyclicJobSequenceDependenciesJobDisqualification(String[] productionJobs, String[] cycle) -
Method Summary
Modifier and TypeMethodDescriptionbooleanString[]getCycle()The cycle as a sequence of sequenceIds, to be read as 'some job in sequence S1 is predecessor of some job in sequence S2', etc.String[]The ids of the disqualified jobs.getType()Type discriminatorinthashCode()voidThe cycle as a sequence of sequenceIds, to be read as 'some job in sequence S1 is predecessor of some job in sequence S2', etc.voidsetProductionJobs(String[] productionJobs) The ids of the disqualified jobs.The cycle as a sequence of sequenceIds, to be read as 'some job in sequence S1 is predecessor of some job in sequence S2', etc.withProductionJobs(String[] productionJobs) The ids of the disqualified jobs.
-
Constructor Details
-
DtoCyclicJobSequenceDependenciesJobDisqualification
protected DtoCyclicJobSequenceDependenciesJobDisqualification() -
DtoCyclicJobSequenceDependenciesJobDisqualification
-
-
Method Details
-
getType
Type discriminator- Specified by:
getTypein interfaceIDtoAbstractJobDisqualification- Specified by:
getTypein interfaceIDtoCyclicJobSequenceDependenciesJobDisqualification
-
getProductionJobs
The ids of the disqualified jobs. There will be no result allocation(s) for these.- Specified by:
getProductionJobsin interfaceIDtoAbstractJobDisqualification- Specified by:
getProductionJobsin interfaceIDtoCyclicJobSequenceDependenciesJobDisqualification
-
setProductionJobs
The ids of the disqualified jobs. There will be no result allocation(s) for these.- Specified by:
setProductionJobsin interfaceIDtoAbstractJobDisqualification- Specified by:
setProductionJobsin interfaceIDtoCyclicJobSequenceDependenciesJobDisqualification
-
getCycle
The cycle as a sequence of sequenceIds, to be read as 'some job in sequence S1 is predecessor of some job in sequence S2', etc.- Specified by:
getCyclein interfaceIDtoCyclicJobSequenceDependenciesJobDisqualification
-
setCycle
The cycle as a sequence of sequenceIds, to be read as 'some job in sequence S1 is predecessor of some job in sequence S2', etc.- Specified by:
setCyclein interfaceIDtoCyclicJobSequenceDependenciesJobDisqualification
-
withProductionJobs
public DtoCyclicJobSequenceDependenciesJobDisqualification withProductionJobs(String[] productionJobs) The ids of the disqualified jobs. There will be no result allocation(s) for these. -
withCycle
The cycle as a sequence of sequenceIds, to be read as 'some job in sequence S1 is predecessor of some job in sequence S2', etc. -
equals
-
hashCode
public int hashCode()
-