Class DtoDuplicateJobInSequencesError
java.lang.Object
com.vernaio.kayros.engine.v2.exception.dto.DtoDuplicateJobInSequencesError
- All Implemented Interfaces:
IDtoAbstractError,IDtoDuplicateJobInSequencesError
public class DtoDuplicateJobInSequencesError
extends Object
implements IDtoDuplicateJobInSequencesError
The jobId {jobId} is contained multiple times in the sequences: {paths}.
-
Field Summary
Fields inherited from interface com.vernaio.kayros.engine.v2.exception.dto.IDtoDuplicateJobInSequencesError
_DISCRIMINATOR_TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoDuplicateJobInSequencesError(String message, String[] paths, String jobId) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetJobId()the duplicate jobId.String[]getPaths()The paths where the job is mentionend in sequencesgetType()Type of this object.inthashCode()voidthe duplicate jobId.voidsetMessage(String message) voidThe paths where the job is mentionend in sequencesthe duplicate jobId.withMessage(String message) The paths where the job is mentionend in sequences
-
Constructor Details
-
DtoDuplicateJobInSequencesError
protected DtoDuplicateJobInSequencesError() -
DtoDuplicateJobInSequencesError
-
-
Method Details
-
getType
Type of this object.- Specified by:
getTypein interfaceIDtoAbstractError- Specified by:
getTypein interfaceIDtoDuplicateJobInSequencesError
-
getMessage
- Specified by:
getMessagein interfaceIDtoAbstractError- Specified by:
getMessagein interfaceIDtoDuplicateJobInSequencesError
-
setMessage
- Specified by:
setMessagein interfaceIDtoAbstractError- Specified by:
setMessagein interfaceIDtoDuplicateJobInSequencesError
-
getPaths
The paths where the job is mentionend in sequences- Specified by:
getPathsin interfaceIDtoDuplicateJobInSequencesError
-
setPaths
The paths where the job is mentionend in sequences- Specified by:
setPathsin interfaceIDtoDuplicateJobInSequencesError
-
getJobId
the duplicate jobId.- Specified by:
getJobIdin interfaceIDtoDuplicateJobInSequencesError
-
setJobId
the duplicate jobId.- Specified by:
setJobIdin interfaceIDtoDuplicateJobInSequencesError
-
withMessage
-
withPaths
The paths where the job is mentionend in sequences -
withJobId
the duplicate jobId. -
equals
-
hashCode
public int hashCode()
-