Interface GatewayOuterClass.ActivatedJobOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GatewayOuterClass.ActivatedJob
,GatewayOuterClass.ActivatedJob.Builder
- Enclosing class:
- GatewayOuterClass
public static interface GatewayOuterClass.ActivatedJobOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionthe bpmn process ID of the job process definitioncom.google.protobuf.ByteString
the bpmn process ID of the job process definitiona set of custom headers defined during modelling; returned as a serialized JSON documentcom.google.protobuf.ByteString
a set of custom headers defined during modelling; returned as a serialized JSON documentlong
when the job can be activated again, sent as a UNIX epoch timestampthe associated task element IDcom.google.protobuf.ByteString
the associated task element IDlong
the unique key identifying the associated task, unique within the scope of the process instancelong
getKey()
the key, a unique identifier for the joblong
the key of the job process definitionint
the version of the job process definitionlong
the job's process instance keyint
the amount of retries left to this job (should always be positive)getType()
the type of the job (should match what was requested)com.google.protobuf.ByteString
the type of the job (should match what was requested)JSON document, computed at activation time, consisting of all visible variables to the task scopecom.google.protobuf.ByteString
JSON document, computed at activation time, consisting of all visible variables to the task scopethe name of the worker which activated this jobcom.google.protobuf.ByteString
the name of the worker which activated this jobMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getKey
long getKey()the key, a unique identifier for the job
int64 key = 1;
- Returns:
- The key.
-
getType
String getType()the type of the job (should match what was requested)
string type = 2;
- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()the type of the job (should match what was requested)
string type = 2;
- Returns:
- The bytes for type.
-
getProcessInstanceKey
long getProcessInstanceKey()the job's process instance key
int64 processInstanceKey = 3;
- Returns:
- The processInstanceKey.
-
getBpmnProcessId
String getBpmnProcessId()the bpmn process ID of the job process definition
string bpmnProcessId = 4;
- Returns:
- The bpmnProcessId.
-
getBpmnProcessIdBytes
com.google.protobuf.ByteString getBpmnProcessIdBytes()the bpmn process ID of the job process definition
string bpmnProcessId = 4;
- Returns:
- The bytes for bpmnProcessId.
-
getProcessDefinitionVersion
int getProcessDefinitionVersion()the version of the job process definition
int32 processDefinitionVersion = 5;
- Returns:
- The processDefinitionVersion.
-
getProcessDefinitionKey
long getProcessDefinitionKey()the key of the job process definition
int64 processDefinitionKey = 6;
- Returns:
- The processDefinitionKey.
-
getElementId
String getElementId()the associated task element ID
string elementId = 7;
- Returns:
- The elementId.
-
getElementIdBytes
com.google.protobuf.ByteString getElementIdBytes()the associated task element ID
string elementId = 7;
- Returns:
- The bytes for elementId.
-
getElementInstanceKey
long getElementInstanceKey()the unique key identifying the associated task, unique within the scope of the process instance
int64 elementInstanceKey = 8;
- Returns:
- The elementInstanceKey.
-
getCustomHeaders
String getCustomHeaders()a set of custom headers defined during modelling; returned as a serialized JSON document
string customHeaders = 9;
- Returns:
- The customHeaders.
-
getCustomHeadersBytes
com.google.protobuf.ByteString getCustomHeadersBytes()a set of custom headers defined during modelling; returned as a serialized JSON document
string customHeaders = 9;
- Returns:
- The bytes for customHeaders.
-
getWorker
String getWorker()the name of the worker which activated this job
string worker = 10;
- Returns:
- The worker.
-
getWorkerBytes
com.google.protobuf.ByteString getWorkerBytes()the name of the worker which activated this job
string worker = 10;
- Returns:
- The bytes for worker.
-
getRetries
int getRetries()the amount of retries left to this job (should always be positive)
int32 retries = 11;
- Returns:
- The retries.
-
getDeadline
long getDeadline()when the job can be activated again, sent as a UNIX epoch timestamp
int64 deadline = 12;
- Returns:
- The deadline.
-
getVariables
String getVariables()JSON document, computed at activation time, consisting of all visible variables to the task scope
string variables = 13;
- Returns:
- The variables.
-
getVariablesBytes
com.google.protobuf.ByteString getVariablesBytes()JSON document, computed at activation time, consisting of all visible variables to the task scope
string variables = 13;
- Returns:
- The bytes for variables.
-