org.camunda.bpm.engine.management
Interface JobDefinition

All Known Implementing Classes:
JobDefinitionEntity

public interface JobDefinition

A Job Definition provides details about asynchronous background processing ("Jobs") performed by the process engine.

Each Job Definition corresponds to a Timer or Asynchronous continuation job installed in the process engine. Jobs definitions are installed when BPMN 2.0 processes containing timer activities or asynchronous continuations are deployed.

Author:
Daniel Meyer

Method Summary
 String getActivityId()
          The Id of the activity (from BPMN 2.0 Xml) this Job Definition is associated with.
 String getId()
           
 String getJobConfiguration()
          The configuration of a job definition provides details about the jobs which will be created.
 String getJobType()
          The Type of a job.
 String getProcessDefinitionId()
           
 String getProcessDefinitionKey()
           
 boolean isSuspended()
          Indicates whether this job definition is suspended.
 

Method Detail

getId

String getId()
Returns:
the Id of the job definition.

getProcessDefinitionId

String getProcessDefinitionId()
Returns:
the id of the ProcessDefinition this job definition is associated with.

getProcessDefinitionKey

String getProcessDefinitionKey()
Returns:
the key of the ProcessDefinition this job definition is associated with.

getJobType

String getJobType()
The Type of a job. Asynchronous continuation, timer, ...

Returns:
the type of a Job.

getJobConfiguration

String getJobConfiguration()
The configuration of a job definition provides details about the jobs which will be created. For timer jobs this method returns the timer configuration.

Returns:
the configuration of this job definition.

getActivityId

String getActivityId()
The Id of the activity (from BPMN 2.0 Xml) this Job Definition is associated with.

Returns:
the activity id for this Job Definition.

isSuspended

boolean isSuspended()
Indicates whether this job definition is suspended. If a job Definition is suspended, No Jobs created form the job definition will be acquired by the job executor.

Returns:
true if this Job Definition is currently suspended.


Copyright © 2015 camunda services GmbH. All rights reserved.