Package org.kie.internal.task.api
Interface TaskVariable
-
public interface TaskVariableRepresents single Task variable entity
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTaskVariable.VariableType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DategetModificationDate()Returns last time this variable was modifiedStringgetName()Returns name of the variableStringgetProcessId()Returns process id that the task this variable belongs to is owned by This might be null in case ad hoc tasksLonggetProcessInstanceId()Returns process instance id that the task this variable belongs to is owned by This might be null in case ad hoc tasksLonggetTaskId()Returns task id that this variable belongs toTaskVariable.VariableTypegetType()Return type of the variable - either input or outputStringgetValue()Returns value of this variable - its string representation that can be queriedvoidsetModificationDate(Date modificationDate)voidsetName(String name)voidsetProcessId(String processId)voidsetProcessInstanceId(Long processInstanceId)voidsetTaskId(Long taskId)voidsetType(TaskVariable.VariableType type)voidsetValue(String value)
-
-
-
Method Detail
-
getTaskId
Long getTaskId()
Returns task id that this variable belongs to- Returns:
-
getProcessInstanceId
Long getProcessInstanceId()
Returns process instance id that the task this variable belongs to is owned by This might be null in case ad hoc tasks- Returns:
-
getProcessId
String getProcessId()
Returns process id that the task this variable belongs to is owned by This might be null in case ad hoc tasks- Returns:
-
getName
String getName()
Returns name of the variable- Returns:
-
getValue
String getValue()
Returns value of this variable - its string representation that can be queried- Returns:
-
getType
TaskVariable.VariableType getType()
Return type of the variable - either input or output- Returns:
-
getModificationDate
Date getModificationDate()
Returns last time this variable was modified- Returns:
-
setTaskId
void setTaskId(Long taskId)
-
setProcessInstanceId
void setProcessInstanceId(Long processInstanceId)
-
setProcessId
void setProcessId(String processId)
-
setName
void setName(String name)
-
setValue
void setValue(String value)
-
setType
void setType(TaskVariable.VariableType type)
-
setModificationDate
void setModificationDate(Date modificationDate)
-
-