public enum RemoteBuildStatus extends Enum<RemoteBuildStatus>
NOT_TRIGGERED --+--> QUEUED --+--> RUNNING --+--> FINISHED
| |
| |
+-------> Cancelled <----------+
By default, the remote build status is NOT_TRIGGERED.
When the remote build is triggered, the remote job enters the queue (waiting list) and the status of the remote build changes to QUEUED.
When the remote job leaves the queue, the status changes to RUNNING.
When the remote job is finished, the status changes to FINISHED. This is the final status. In addition, at the status QUEUED and FINISHED, a remote build can be cancelled, in this case an AbortException is thrown.
Enum Constant and Description |
---|
FINISHED
The remote build is finished.
|
NOT_TRIGGERED
The remote job was not triggered and it did not enter the queue.
|
QUEUED
The remote job was triggered and it did enter the queue.
|
RUNNING
The remote job left the queue and it is running currently.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static RemoteBuildStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RemoteBuildStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RemoteBuildStatus NOT_TRIGGERED
public static final RemoteBuildStatus QUEUED
public static final RemoteBuildStatus RUNNING
public static final RemoteBuildStatus FINISHED
public static RemoteBuildStatus[] values()
for (RemoteBuildStatus c : RemoteBuildStatus.values()) System.out.println(c);
public static RemoteBuildStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<RemoteBuildStatus>
Copyright © 2016–2023. All rights reserved.