Package com.atlassian.bitbucket.job
Interface Job
public interface Job
Represents a job that runs for some period of time doing some specific set of tasks on a single node in the cluster.
- Since:
- 5.13
- 
Method Details- 
getIdlong getId()- Returns:
- the job's ID
 
- 
getNodeId- Returns:
- the node the job is currently running on
 
- 
getType- Returns:
- a string representation of the type of this job. This is feature-specific and allows jobs to be categorised when querying to filter out jobs unrelated to the feature doing the query.
 
- 
getInitiator- Returns:
- the user who initiated the job or empty for system-initiated jobs
 
- 
getStartDate- Returns:
- when the job was created and started
 
- 
getUpdatedDate- Returns:
- when the job details were last updated
 
- 
getEndDate- Returns:
- when the job was ended or empty if it has not started or is still running
 
- 
getProgress- Returns:
- the progress of the job
 
- 
getState- Returns:
- the current state of the job
 
- 
getVersionint getVersion()- Returns:
- the current version of the job
 
 
-