Interface ActivatedJob
- All Known Implementing Classes:
ActivatedJobImpl
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.longDeprecated.Deprecated.longDeprecated.longgetKey()Deprecated.longDeprecated.intDeprecated.longDeprecated.intDeprecated.Deprecated.getType()Deprecated.getVariable(String name) Deprecated.Deprecated.Deprecated.<T> TgetVariablesAsType(Class<T> variableType) Deprecated.Deprecated.toJson()Deprecated.
-
Method Details
-
getKey
long getKey()Deprecated.- Returns:
- the unique key of the job
-
getType
String getType()Deprecated.- Returns:
- the type of the job
-
getProcessInstanceKey
long getProcessInstanceKey()Deprecated.- Returns:
- key of the process instance
-
getBpmnProcessId
String getBpmnProcessId()Deprecated.- Returns:
- BPMN process id of the process
-
getProcessDefinitionVersion
int getProcessDefinitionVersion()Deprecated.- Returns:
- version of the process
-
getProcessDefinitionKey
long getProcessDefinitionKey()Deprecated.- Returns:
- key of the process
-
getElementId
String getElementId()Deprecated.- Returns:
- id of the process element
-
getElementInstanceKey
long getElementInstanceKey()Deprecated.- Returns:
- key of the element instance
-
getCustomHeaders
Deprecated.- Returns:
- user-defined headers associated with this job
-
getWorker
String getWorker()Deprecated.- Returns:
- the assigned worker to complete the job
-
getRetries
int getRetries()Deprecated.- Returns:
- remaining retries
-
getDeadline
long getDeadline()Deprecated.- Returns:
- the unix timestamp until when the job is exclusively assigned to this worker (time unit * is milliseconds since unix epoch). If the deadline is exceeded, it can happen that the job is handed to another worker and the work is performed twice.
-
getVariables
String getVariables()Deprecated.- Returns:
- JSON-formatted variables
-
getVariablesAsMap
Deprecated.- Returns:
- de-serialized variables as map
-
getVariablesAsType
Deprecated.- Returns:
- de-serialized variables as the given type
-
getVariable
Deprecated.- Returns:
- de-serialized variable value or null if the provided variable name is present among the
available variables, otherwise throw a
ClientException
-
toJson
String toJson()Deprecated.- Returns:
- the record encoded as JSON
-
getTenantId
Deprecated.- Returns:
- the identifier of the tenant that owns the job
-
ActivatedJob