public final enum

JobState

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.bitbucket.job.JobState

Summary

Enum Values
JobState  ABORTED  The job encountered an unrecoverable error and was forced to terminate abnormally  
JobState  CANCELED  The job was canceled by the system or a user and has now stopped. 
JobState  CANCELING  The job was canceled by the system or a user and is in the process of stopping. 
JobState  COMPLETED  The job has run to completion and is now stopped. 
JobState  FAILED  The job has run to completion and is now stopped. 
JobState  FINALISING  The job is finalising its activities in preparation for stopping  
JobState  INITIALISING  The job is initialising in preparation for running  
JobState  READY  The job is ready to run and awaiting scheduling  
JobState  RUNNING  The job is currently running  
JobState  TIMED_OUT  The job ran for too long without an update and is now considered stopped  
Public Methods
@Nonnull static JobState fromId(int id)
int getId()
boolean isFailed()
boolean isTerminated()
static JobState valueOf(String name)
final static JobState[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final JobState ABORTED

The job encountered an unrecoverable error and was forced to terminate abnormally

public static final JobState CANCELED

The job was canceled by the system or a user and has now stopped.

public static final JobState CANCELING

The job was canceled by the system or a user and is in the process of stopping.

public static final JobState COMPLETED

The job has run to completion and is now stopped. Errors or warning messages may have been logged determining whether the job failed or succeeded overall, depending on the type of job.

public static final JobState FAILED

The job has run to completion and is now stopped. Errors or warning messages may have been logged determining whether the job failed or succeeded overall, depending on the type of job.

public static final JobState FINALISING

The job is finalising its activities in preparation for stopping

public static final JobState INITIALISING

The job is initialising in preparation for running

public static final JobState READY

The job is ready to run and awaiting scheduling

public static final JobState RUNNING

The job is currently running

public static final JobState TIMED_OUT

The job ran for too long without an update and is now considered stopped

Public Methods

@Nonnull public static JobState fromId (int id)

public int getId ()

public boolean isFailed ()

public boolean isTerminated ()

public static JobState valueOf (String name)

public static final JobState[] values ()