Class ActivatedJobBase

java.lang.Object
io.camunda.zeebe.client.protocol.rest.ActivatedJobBase

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-02-07T11:57:41.291335755Z[GMT]", comments="Generator version: 7.8.0") public class ActivatedJobBase extends Object
Base properties for ActivatedJob
  • Field Details

  • Constructor Details

    • ActivatedJobBase

      public ActivatedJobBase()
  • Method Details

    • type

      public ActivatedJobBase type(String type)
    • getType

      @Nullable public String getType()
      the type of the job (should match what was requested)
      Returns:
      type
    • setType

      public void setType(String type)
    • processDefinitionId

      public ActivatedJobBase processDefinitionId(String processDefinitionId)
    • getProcessDefinitionId

      @Nullable public String getProcessDefinitionId()
      the bpmn process ID of the job's process definition
      Returns:
      processDefinitionId
    • setProcessDefinitionId

      public void setProcessDefinitionId(String processDefinitionId)
    • processDefinitionVersion

      public ActivatedJobBase processDefinitionVersion(Integer processDefinitionVersion)
    • getProcessDefinitionVersion

      @Nullable public Integer getProcessDefinitionVersion()
      the version of the job's process definition
      Returns:
      processDefinitionVersion
    • setProcessDefinitionVersion

      public void setProcessDefinitionVersion(Integer processDefinitionVersion)
    • elementId

      public ActivatedJobBase elementId(String elementId)
    • getElementId

      @Nullable public String getElementId()
      the associated task element ID
      Returns:
      elementId
    • setElementId

      public void setElementId(String elementId)
    • customHeaders

      public ActivatedJobBase customHeaders(Map<String,Object> customHeaders)
    • putCustomHeadersItem

      public ActivatedJobBase putCustomHeadersItem(String key, Object customHeadersItem)
    • getCustomHeaders

      @Nullable public Map<String,Object> getCustomHeaders()
      a set of custom headers defined during modelling; returned as a serialized JSON document
      Returns:
      customHeaders
    • setCustomHeaders

      public void setCustomHeaders(Map<String,Object> customHeaders)
    • worker

      public ActivatedJobBase worker(String worker)
    • getWorker

      @Nullable public String getWorker()
      the name of the worker which activated this job
      Returns:
      worker
    • setWorker

      public void setWorker(String worker)
    • retries

      public ActivatedJobBase retries(Integer retries)
    • getRetries

      @Nullable public Integer getRetries()
      the amount of retries left to this job (should always be positive)
      Returns:
      retries
    • setRetries

      public void setRetries(Integer retries)
    • deadline

      public ActivatedJobBase deadline(Long deadline)
    • getDeadline

      @Nullable public Long getDeadline()
      when the job can be activated again, sent as a UNIX epoch timestamp
      Returns:
      deadline
    • setDeadline

      public void setDeadline(Long deadline)
    • variables

      public ActivatedJobBase variables(Map<String,Object> variables)
    • putVariablesItem

      public ActivatedJobBase putVariablesItem(String key, Object variablesItem)
    • getVariables

      @Nullable public Map<String,Object> getVariables()
      All variables visible to the task scope, computed at activation time
      Returns:
      variables
    • setVariables

      public void setVariables(Map<String,Object> variables)
    • tenantId

      public ActivatedJobBase tenantId(String tenantId)
    • getTenantId

      @Nullable public String getTenantId()
      The ID of the tenant that owns the job
      Returns:
      tenantId
    • setTenantId

      public void setTenantId(String tenantId)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string