Class DtoCyclicJobDependenciesError
java.lang.Object
com.vernaio.kayros.engine.v2.exception.dto.DtoCyclicJobDependenciesError
- All Implemented Interfaces:
IDtoAbstractError,IDtoCyclicJobDependenciesError
The jobGraph at {path} (graph with vertices from jobs and edges from those jobDependencies that do not only refer to fixedJobs) contains the cycle {cycle}.
-
Field Summary
Fields inherited from interface com.vernaio.kayros.engine.v2.exception.dto.IDtoCyclicJobDependenciesError
_DISCRIMINATOR_TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoCyclicJobDependenciesError(String message, String path, String[] cycle) -
Method Summary
Modifier and TypeMethodDescriptionbooleanString[]getCycle()the job ids in the cyclegetPath()the path to the jobGraph whose dependencies contain the cyclegetType()Type of this object.inthashCode()voidthe job ids in the cyclevoidsetMessage(String message) voidthe path to the jobGraph whose dependencies contain the cyclethe job ids in the cyclewithMessage(String message) the path to the jobGraph whose dependencies contain the cycle
-
Constructor Details
-
DtoCyclicJobDependenciesError
protected DtoCyclicJobDependenciesError() -
DtoCyclicJobDependenciesError
-
-
Method Details
-
getType
Type of this object.- Specified by:
getTypein interfaceIDtoAbstractError- Specified by:
getTypein interfaceIDtoCyclicJobDependenciesError
-
getMessage
- Specified by:
getMessagein interfaceIDtoAbstractError- Specified by:
getMessagein interfaceIDtoCyclicJobDependenciesError
-
setMessage
- Specified by:
setMessagein interfaceIDtoAbstractError- Specified by:
setMessagein interfaceIDtoCyclicJobDependenciesError
-
getPath
the path to the jobGraph whose dependencies contain the cycle- Specified by:
getPathin interfaceIDtoCyclicJobDependenciesError
-
setPath
the path to the jobGraph whose dependencies contain the cycle- Specified by:
setPathin interfaceIDtoCyclicJobDependenciesError
-
getCycle
the job ids in the cycle- Specified by:
getCyclein interfaceIDtoCyclicJobDependenciesError
-
setCycle
the job ids in the cycle- Specified by:
setCyclein interfaceIDtoCyclicJobDependenciesError
-
withMessage
-
withPath
the path to the jobGraph whose dependencies contain the cycle -
withCycle
the job ids in the cycle -
equals
-
hashCode
public int hashCode()
-