org.camunda.bpm.engine.history
Interface HistoricJobLog

All Known Implementing Classes:
HistoricJobLogEventEntity

public interface HistoricJobLog

The HistoricJobLog is used to have a log containing information about job execution. The log provides details about the complete lifecycle of a job:

An instance of HistoricJobLog represents a state in the lifecycle of a job.

Since:
7.3
Author:
Roman Smirnov

Method Summary
 String getActivityId()
          Returns the id of the activity on which the associated job was created.
 String getDeploymentId()
          Returns the specific deployment id on which the associated job was created.
 String getExecutionId()
          Returns the specific execution id on which the associated job was created.
 String getId()
          Returns the unique identifier for this historic job log.
 String getJobDefinitionConfiguration()
          Returns the job definition configuration type of the associated job.
 String getJobDefinitionId()
          Returns the id of the job definition on which the associated job was created.
 String getJobDefinitionType()
          Returns the job definition type of the associated job.
 Date getJobDueDate()
          Returns the due date of the associated job when this log occurred.
 String getJobExceptionMessage()
          Returns the message of the exception that occurred by executing the associated job.
 String getJobId()
          Returns the id of the associated job.
 int getJobRetries()
          Returns the retries of the associated job before the associated job has been executed and when this log occurred.
 String getProcessDefinitionId()
          Returns the specific process definition id on which the associated job was created.
 String getProcessDefinitionKey()
          Returns the specific process definition key on which the associated job was created.
 String getProcessInstanceId()
          Returns the specific process instance id on which the associated job was created.
 Date getTimestamp()
          Returns the time when this log occurred.
 boolean isCreationLog()
          Returns true when this log represents the creation of the associated job.
 boolean isDeletionLog()
          Returns true when this log represents the deletion of the associated job.
 boolean isFailureLog()
          Returns true when this log represents the failed execution of the associated job.
 boolean isSuccessLog()
          Returns true when this log represents the successful execution of the associated job.
 

Method Detail

getId

String getId()
Returns the unique identifier for this historic job log.


getTimestamp

Date getTimestamp()
Returns the time when this log occurred.


getJobId

String getJobId()
Returns the id of the associated job.


getJobDueDate

Date getJobDueDate()
Returns the due date of the associated job when this log occurred.


getJobRetries

int getJobRetries()
Returns the retries of the associated job before the associated job has been executed and when this log occurred.


getJobExceptionMessage

String getJobExceptionMessage()
Returns the message of the exception that occurred by executing the associated job. To get the full exception stacktrace, use HistoryService.getHistoricJobLogExceptionStacktrace(String)


getJobDefinitionId

String getJobDefinitionId()
Returns the id of the job definition on which the associated job was created.


getJobDefinitionType

String getJobDefinitionType()
Returns the job definition type of the associated job.


getJobDefinitionConfiguration

String getJobDefinitionConfiguration()
Returns the job definition configuration type of the associated job.


getActivityId

String getActivityId()
Returns the id of the activity on which the associated job was created.


getExecutionId

String getExecutionId()
Returns the specific execution id on which the associated job was created.


getProcessInstanceId

String getProcessInstanceId()
Returns the specific process instance id on which the associated job was created.


getProcessDefinitionId

String getProcessDefinitionId()
Returns the specific process definition id on which the associated job was created.


getProcessDefinitionKey

String getProcessDefinitionKey()
Returns the specific process definition key on which the associated job was created.


getDeploymentId

String getDeploymentId()
Returns the specific deployment id on which the associated job was created.


isCreationLog

boolean isCreationLog()
Returns true when this log represents the creation of the associated job.


isFailureLog

boolean isFailureLog()
Returns true when this log represents the failed execution of the associated job.


isSuccessLog

boolean isSuccessLog()
Returns true when this log represents the successful execution of the associated job.


isDeletionLog

boolean isDeletionLog()
Returns true when this log represents the deletion of the associated job.



Copyright © 2015 camunda services GmbH. All rights reserved.