Class AnyTaskAction
java.lang.Object
eu.c6.gibraltar.api.common.CObject
eu.c6.gibraltar.api.managers.tasks.AnyTaskAction
- All Implemented Interfaces:
ICObject,IApiTaskConstants,Serializable,Cloneable
The Class AnyTaskAction used to get Transition action.
- See Also:
-
Field Summary
Fields inherited from interface eu.c6.gibraltar.api.managers.tasks.IApiTaskConstants
ACTION, ATTACHMENT, ATTACHMENT_ID, ATTACHMENT_TYPE, ID, INDEX, LABEL, NEXT_STATE, SIGNOFF_REQUIRED, TRANSITIONS, TYPEFields inherited from interface eu.c6.gibraltar.api.common.ICObject
CHARSET, FIELD_SEPARATOR_DOT, FIELD_SEPARATOR_PATH -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new any task action.AnyTaskAction(com.fasterxml.jackson.databind.JsonNode jsonNode) Instantiates a new any task action using field values of JSON object.AnyTaskAction(ICObject object) Instantiates a new any task action using field values of object parameter. -
Method Summary
Modifier and TypeMethodDescriptiongetIndex()getLabel()booleansetAction(ApiTaskActionType action) setNextState(String state) setSignoffRequired(boolean required) Methods inherited from class eu.c6.gibraltar.api.common.CObject
addIntoList, addValueIntoList, buildPath, clearList, clone, clone, clone, contains, containsField, convertFieldNameToJsonPath, convertJsonPathToFieldName, equals, get, getBoolean, getBoolean, getDate, getDate, getDouble, getDouble, getFieldNames, getFieldNamesFlattenList, getFieldNamesList, getInputStream, getInt, getInt, getList, getListNestedObject, getListNestedObject, getListNestedObject, getListNestedObjectByAttribute, getListNestedObjectByAttribute, getListSize, getListString, getLocalDateTime, getLocalDateTime, getLong, getLong, getNestedObject, getNestedObject, getNestedObject, getNestedObjectNamesList, getOutputStream, getReader, getString, getString, insertIntoList, isBoolean, isDate, isDateList, isDouble, isEmpty, isFieldEmpty, isInt, isJSONValid, isList, isNestedObject, isNestedObjectList, isString, load, load, merge, mergeDeep, parse, remove, removeFromList, removeValueFromList, replaceIntoList, resetField, set, set, set, set, set, set, set, set, set, setList, setNull, textValue, toFlattenMapValues, toJson, toMap, toString, toString
-
Constructor Details
-
AnyTaskAction
public AnyTaskAction()Instantiates a new any task action.Once created you must set at least the action type.
-
AnyTaskAction
Instantiates a new any task action using field values of object parameter.Used fields are :
- Parameters:
object- the object- See Also:
-
AnyTaskAction
public AnyTaskAction(com.fasterxml.jackson.databind.JsonNode jsonNode) Instantiates a new any task action using field values of JSON object.Used fields are :
- Parameters:
jsonNode- the JSON object- See Also:
-
-
Method Details
-
setAction
-
setAction
-
getAction
-
setIndex
-
getIndex
-
setLabel
-
getLabel
-
getNextState
-
setNextState
-
isSignoffRequired
public boolean isSignoffRequired() -
setSignoffRequired
-