Class DtoInvalidTaskRequirementError
java.lang.Object
com.vernaio.kayros.engine.v2.exception.dto.DtoInvalidTaskRequirementError
- All Implemented Interfaces:
IDtoAbstractError,IDtoInvalidTaskRequirementError
public class DtoInvalidTaskRequirementError
extends Object
implements IDtoInvalidTaskRequirementError
The taskRequirement at {path} does not fit the declared parameters of the task. It contains {duplicateKeys}, requires {unknownKeys} that are not declared in the task, does not define {missingKeys} that the task declares or has {wrongTypeKeys} that are declared to be float but cannot be parsed by Double.valueOf()
-
Field Summary
Fields inherited from interface com.vernaio.kayros.engine.v2.exception.dto.IDtoInvalidTaskRequirementError
_DISCRIMINATOR_TYPE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanString[]The keys of the taskParameters that are required multiple times.String[]The keys of the taskParameters that are not required here but are declared in the task.getPath()The path to the invalid taskRequirement.getTask()The id of the task this taskRequirement needs to fit.getType()Type of this object.String[]The keys of the taskParameters that are required here but not declared in the task.String[]The keys of the taskParameters that are declared as float in task but aacnnot be parsed by Double.valueOf().inthashCode()voidsetDuplicateKeys(String[] duplicateKeys) The keys of the taskParameters that are required multiple times.voidsetMessage(String message) voidsetMissingKeys(String[] missingKeys) The keys of the taskParameters that are not required here but are declared in the task.voidThe path to the invalid taskRequirement.voidThe id of the task this taskRequirement needs to fit.voidsetUnknownKeys(String[] unknownKeys) The keys of the taskParameters that are required here but not declared in the task.voidsetWrongTypeKeys(String[] wrongTypeKeys) The keys of the taskParameters that are declared as float in task but aacnnot be parsed by Double.valueOf().withDuplicateKeys(String[] duplicateKeys) The keys of the taskParameters that are required multiple times.withMessage(String message) withMissingKeys(String[] missingKeys) The keys of the taskParameters that are not required here but are declared in the task.The path to the invalid taskRequirement.The id of the task this taskRequirement needs to fit.withUnknownKeys(String[] unknownKeys) The keys of the taskParameters that are required here but not declared in the task.withWrongTypeKeys(String[] wrongTypeKeys) The keys of the taskParameters that are declared as float in task but aacnnot be parsed by Double.valueOf().
-
Constructor Details
-
DtoInvalidTaskRequirementError
protected DtoInvalidTaskRequirementError() -
DtoInvalidTaskRequirementError
-
-
Method Details
-
getType
Type of this object.- Specified by:
getTypein interfaceIDtoAbstractError- Specified by:
getTypein interfaceIDtoInvalidTaskRequirementError
-
getMessage
- Specified by:
getMessagein interfaceIDtoAbstractError- Specified by:
getMessagein interfaceIDtoInvalidTaskRequirementError
-
setMessage
- Specified by:
setMessagein interfaceIDtoAbstractError- Specified by:
setMessagein interfaceIDtoInvalidTaskRequirementError
-
getPath
The path to the invalid taskRequirement.- Specified by:
getPathin interfaceIDtoInvalidTaskRequirementError
-
setPath
The path to the invalid taskRequirement.- Specified by:
setPathin interfaceIDtoInvalidTaskRequirementError
-
getTask
The id of the task this taskRequirement needs to fit.- Specified by:
getTaskin interfaceIDtoInvalidTaskRequirementError
-
setTask
The id of the task this taskRequirement needs to fit.- Specified by:
setTaskin interfaceIDtoInvalidTaskRequirementError
-
getDuplicateKeys
The keys of the taskParameters that are required multiple times.- Specified by:
getDuplicateKeysin interfaceIDtoInvalidTaskRequirementError
-
setDuplicateKeys
The keys of the taskParameters that are required multiple times.- Specified by:
setDuplicateKeysin interfaceIDtoInvalidTaskRequirementError
-
getUnknownKeys
The keys of the taskParameters that are required here but not declared in the task.- Specified by:
getUnknownKeysin interfaceIDtoInvalidTaskRequirementError
-
setUnknownKeys
The keys of the taskParameters that are required here but not declared in the task.- Specified by:
setUnknownKeysin interfaceIDtoInvalidTaskRequirementError
-
getMissingKeys
The keys of the taskParameters that are not required here but are declared in the task.- Specified by:
getMissingKeysin interfaceIDtoInvalidTaskRequirementError
-
setMissingKeys
The keys of the taskParameters that are not required here but are declared in the task.- Specified by:
setMissingKeysin interfaceIDtoInvalidTaskRequirementError
-
getWrongTypeKeys
The keys of the taskParameters that are declared as float in task but aacnnot be parsed by Double.valueOf().- Specified by:
getWrongTypeKeysin interfaceIDtoInvalidTaskRequirementError
-
setWrongTypeKeys
The keys of the taskParameters that are declared as float in task but aacnnot be parsed by Double.valueOf().- Specified by:
setWrongTypeKeysin interfaceIDtoInvalidTaskRequirementError
-
equals
-
hashCode
public int hashCode() -
withMessage
-
withPath
The path to the invalid taskRequirement. -
withTask
The id of the task this taskRequirement needs to fit. -
withDuplicateKeys
The keys of the taskParameters that are required multiple times. -
withUnknownKeys
The keys of the taskParameters that are required here but not declared in the task. -
withMissingKeys
The keys of the taskParameters that are not required here but are declared in the task. -
withWrongTypeKeys
The keys of the taskParameters that are declared as float in task but aacnnot be parsed by Double.valueOf().
-