Interface Job

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      java.util.Date getDuedate()
      Deprecated.
      Returns the date on which this job is supposed to be processed.
      java.lang.String getExceptionMessage()
      Deprecated.
      Returns the message of the exception that occurred, the last time the job was executed.
      java.lang.String getExecutionId()
      Deprecated.
      Returns the specific execution on which the job was created.
      java.lang.String getId()
      Deprecated.
      Returns the unique identifier for this job.
      java.lang.String getJobHandlerConfiguration()
      Deprecated.
      Get the job configuration.
      java.lang.String getJobHandlerType()
      Deprecated.
      Get the job handler type.
      java.lang.String getJobType()
      Deprecated.
      Get the job type for this job.
      java.lang.String getProcessDefinitionId()
      Deprecated.
      Returns the specific process definition on which the job was created
      java.lang.String getProcessInstanceId()
      Deprecated.
      Returns the id of the process instance which execution created the job.
      int getRetries()
      Deprecated.
      Returns the number of retries this job has left.
      java.lang.String getTenantId()
      Deprecated.
      Get the tenant identifier for this job.
      boolean isExclusive()
      Deprecated.
      Is the job exclusive?
    • Field Detail

      • JOB_TYPE_TIMER

        static final java.lang.String JOB_TYPE_TIMER
        Deprecated.
        See Also:
        Constant Field Values
      • JOB_TYPE_MESSAGE

        static final java.lang.String JOB_TYPE_MESSAGE
        Deprecated.
        See Also:
        Constant Field Values
      • MAX_EXCEPTION_MESSAGE_LENGTH

        static final int MAX_EXCEPTION_MESSAGE_LENGTH
        Deprecated.
        See Also:
        Constant Field Values
    • Method Detail

      • getId

        java.lang.String getId()
        Deprecated.
        Returns the unique identifier for this job.
      • getDuedate

        java.util.Date getDuedate()
        Deprecated.
        Returns the date on which this job is supposed to be processed.
      • getProcessInstanceId

        java.lang.String getProcessInstanceId()
        Deprecated.
        Returns the id of the process instance which execution created the job.
      • getExecutionId

        java.lang.String getExecutionId()
        Deprecated.
        Returns the specific execution on which the job was created.
      • getProcessDefinitionId

        java.lang.String getProcessDefinitionId()
        Deprecated.
        Returns the specific process definition on which the job was created
      • getRetries

        int getRetries()
        Deprecated.
        Returns the number of retries this job has left. Whenever the jobexecutor fails to execute the job, this value is decremented. When it hits zero, the job is supposed to be dead and not retried again (ie a manual retry is required then).
      • getExceptionMessage

        java.lang.String getExceptionMessage()
        Deprecated.
        Returns the message of the exception that occurred, the last time the job was executed. Returns null when no exception occurred. To get the full exception stacktrace, use ManagementService.getJobExceptionStacktrace(String)
      • getTenantId

        java.lang.String getTenantId()
        Deprecated.
        Get the tenant identifier for this job.
      • isExclusive

        boolean isExclusive()
        Deprecated.
        Is the job exclusive?
      • getJobType

        java.lang.String getJobType()
        Deprecated.
        Get the job type for this job.
      • getJobHandlerType

        java.lang.String getJobHandlerType()
        Deprecated.
        Get the job handler type.
      • getJobHandlerConfiguration

        java.lang.String getJobHandlerConfiguration()
        Deprecated.
        Get the job configuration.