Package jetbrains.buildServer.serverSide
Enum PersistTaskStage
- java.lang.Object
-
- java.lang.Enum<PersistTaskStage>
-
- jetbrains.buildServer.serverSide.PersistTaskStage
-
- All Implemented Interfaces:
Serializable
,Comparable<PersistTaskStage>
public enum PersistTaskStage extends Enum<PersistTaskStage>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXECUTING
Task is being applied to configs directoryFINISHED
Task is finishedPREPARE
From the moment the task was created till the moment the task is marked as completeRUNNING_POST_EXECUTE_ACTION
Task is running some post execute action (commits changes to VCS, etc)TASK_READY
Task is complete and waiting to be executed.TASK_WITH_METADATA_READY
Task is complete and waiting to be executed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PersistTaskStage
valueOf(String name)
Returns the enum constant of this type with the specified name.static PersistTaskStage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREPARE
public static final PersistTaskStage PREPARE
From the moment the task was created till the moment the task is marked as complete
-
TASK_WITH_METADATA_READY
public static final PersistTaskStage TASK_WITH_METADATA_READY
Task is complete and waiting to be executed. Should be used by tasks with associated metadata (file content, information about saved/deleted files, etc)
-
TASK_READY
public static final PersistTaskStage TASK_READY
Task is complete and waiting to be executed. Should be used by runnable tasks which do not have any metadata and should be executed by the node which created it
-
EXECUTING
public static final PersistTaskStage EXECUTING
Task is being applied to configs directory
-
RUNNING_POST_EXECUTE_ACTION
public static final PersistTaskStage RUNNING_POST_EXECUTE_ACTION
Task is running some post execute action (commits changes to VCS, etc)
-
FINISHED
public static final PersistTaskStage FINISHED
Task is finished
-
-
Method Detail
-
values
public static PersistTaskStage[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PersistTaskStage c : PersistTaskStage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PersistTaskStage valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-