Enum ServerCommandsPoller.OnExit.Reason
- java.lang.Object
-
- java.lang.Enum<ServerCommandsPoller.OnExit.Reason>
-
- jetbrains.buildServer.agent.impl.serverCommunication.ServerCommandsPoller.OnExit.Reason
-
- All Implemented Interfaces:
Serializable
,Comparable<ServerCommandsPoller.OnExit.Reason>
- Enclosing interface:
- ServerCommandsPoller.OnExit
public static enum ServerCommandsPoller.OnExit.Reason extends Enum<ServerCommandsPoller.OnExit.Reason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NORMAL_EXIT
UNAUTHORIZED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerCommandsPoller.OnExit.Reason
valueOf(String name)
Returns the enum constant of this type with the specified name.static ServerCommandsPoller.OnExit.Reason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNAUTHORIZED
public static final ServerCommandsPoller.OnExit.Reason UNAUTHORIZED
-
NORMAL_EXIT
public static final ServerCommandsPoller.OnExit.Reason NORMAL_EXIT
-
-
Method Detail
-
values
public static ServerCommandsPoller.OnExit.Reason[] 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 (ServerCommandsPoller.OnExit.Reason c : ServerCommandsPoller.OnExit.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServerCommandsPoller.OnExit.Reason 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
-
-