Class DtoConflictingTaskParameterDeclarationsError
java.lang.Object
com.vernaio.kayros.engine.v2.exception.dto.DtoConflictingTaskParameterDeclarationsError
- All Implemented Interfaces:
IDtoAbstractError,IDtoConflictingTaskParameterDeclarationsError
public class DtoConflictingTaskParameterDeclarationsError
extends Object
implements IDtoConflictingTaskParameterDeclarationsError
The task at {path} contains multiple declaration for the parameter-key {parameter}.
-
Field Summary
Fields inherited from interface com.vernaio.kayros.engine.v2.exception.dto.IDtoConflictingTaskParameterDeclarationsError
_DISCRIMINATOR_TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoConflictingTaskParameterDeclarationsError(String message, String path, String parameter) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe key of the parameter that has multiple declarations.getPath()The path of the task that has multiple declarations for one parameter.getType()Type of this object.inthashCode()voidsetMessage(String message) voidsetParameter(String parameter) The key of the parameter that has multiple declarations.voidThe path of the task that has multiple declarations for one parameter.withMessage(String message) withParameter(String parameter) The key of the parameter that has multiple declarations.The path of the task that has multiple declarations for one parameter.
-
Constructor Details
-
DtoConflictingTaskParameterDeclarationsError
protected DtoConflictingTaskParameterDeclarationsError() -
DtoConflictingTaskParameterDeclarationsError
-
-
Method Details
-
getType
Type of this object.- Specified by:
getTypein interfaceIDtoAbstractError- Specified by:
getTypein interfaceIDtoConflictingTaskParameterDeclarationsError
-
getMessage
- Specified by:
getMessagein interfaceIDtoAbstractError- Specified by:
getMessagein interfaceIDtoConflictingTaskParameterDeclarationsError
-
setMessage
- Specified by:
setMessagein interfaceIDtoAbstractError- Specified by:
setMessagein interfaceIDtoConflictingTaskParameterDeclarationsError
-
getPath
The path of the task that has multiple declarations for one parameter.- Specified by:
getPathin interfaceIDtoConflictingTaskParameterDeclarationsError
-
setPath
The path of the task that has multiple declarations for one parameter.- Specified by:
setPathin interfaceIDtoConflictingTaskParameterDeclarationsError
-
getParameter
The key of the parameter that has multiple declarations.- Specified by:
getParameterin interfaceIDtoConflictingTaskParameterDeclarationsError
-
setParameter
The key of the parameter that has multiple declarations.- Specified by:
setParameterin interfaceIDtoConflictingTaskParameterDeclarationsError
-
equals
-
hashCode
public int hashCode() -
withMessage
-
withPath
The path of the task that has multiple declarations for one parameter. -
withParameter
The key of the parameter that has multiple declarations.
-