Class DtoUndeclaredTaskParameterKeyError
java.lang.Object
com.vernaio.kayros.engine.v2.exception.dto.DtoUndeclaredTaskParameterKeyError
- All Implemented Interfaces:
IDtoAbstractError,IDtoUndeclaredTaskParameterKeyError
public class DtoUndeclaredTaskParameterKeyError
extends Object
implements IDtoUndeclaredTaskParameterKeyError
The object at {path} mentions the key of a TaskParameter by $ that the task does not declare.
-
Field Summary
Fields inherited from interface com.vernaio.kayros.engine.v2.exception.dto.IDtoUndeclaredTaskParameterKeyError
_DISCRIMINATOR_TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoUndeclaredTaskParameterKeyError(String message, String path, String undeclaredKey, String task) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetPath()The path of the object mentioning the undeclared task parameter key.getTask()The id of the task the object is refering to.getType()Type of this object.The key mentionend in the object's value, not declared in task.inthashCode()voidsetMessage(String message) voidThe path of the object mentioning the undeclared task parameter key.voidThe id of the task the object is refering to.voidsetUndeclaredKey(String undeclaredKey) The key mentionend in the object's value, not declared in task.withMessage(String message) The path of the object mentioning the undeclared task parameter key.The id of the task the object is refering to.withUndeclaredKey(String undeclaredKey) The key mentionend in the object's value, not declared in task.
-
Constructor Details
-
DtoUndeclaredTaskParameterKeyError
protected DtoUndeclaredTaskParameterKeyError() -
DtoUndeclaredTaskParameterKeyError
-
-
Method Details
-
getType
Type of this object.- Specified by:
getTypein interfaceIDtoAbstractError- Specified by:
getTypein interfaceIDtoUndeclaredTaskParameterKeyError
-
getMessage
- Specified by:
getMessagein interfaceIDtoAbstractError- Specified by:
getMessagein interfaceIDtoUndeclaredTaskParameterKeyError
-
setMessage
- Specified by:
setMessagein interfaceIDtoAbstractError- Specified by:
setMessagein interfaceIDtoUndeclaredTaskParameterKeyError
-
getPath
The path of the object mentioning the undeclared task parameter key.- Specified by:
getPathin interfaceIDtoUndeclaredTaskParameterKeyError
-
setPath
The path of the object mentioning the undeclared task parameter key.- Specified by:
setPathin interfaceIDtoUndeclaredTaskParameterKeyError
-
getUndeclaredKey
The key mentionend in the object's value, not declared in task.- Specified by:
getUndeclaredKeyin interfaceIDtoUndeclaredTaskParameterKeyError
-
setUndeclaredKey
The key mentionend in the object's value, not declared in task.- Specified by:
setUndeclaredKeyin interfaceIDtoUndeclaredTaskParameterKeyError
-
getTask
The id of the task the object is refering to.- Specified by:
getTaskin interfaceIDtoUndeclaredTaskParameterKeyError
-
setTask
The id of the task the object is refering to.- Specified by:
setTaskin interfaceIDtoUndeclaredTaskParameterKeyError
-
withMessage
-
withPath
The path of the object mentioning the undeclared task parameter key. -
withUndeclaredKey
The key mentionend in the object's value, not declared in task. -
withTask
The id of the task the object is refering to. -
equals
-
hashCode
public int hashCode()
-