Enum AgentListForm.SORT_OPTION
- java.lang.Object
-
- java.lang.Enum<AgentListForm.SORT_OPTION>
-
- jetbrains.buildServer.controllers.agent.AgentListForm.SORT_OPTION
-
- All Implemented Interfaces:
Serializable
,Comparable<AgentListForm.SORT_OPTION>
- Enclosing class:
- AgentListForm
public static enum AgentListForm.SORT_OPTION extends Enum<AgentListForm.SORT_OPTION>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SORT_BY_CONNECTION_STATUS
SORT_BY_CPU_RANK
SORT_BY_INACTIVITY_REASON
SORT_BY_LAST_ACTIVITY_DATE
SORT_BY_NAME
SORT_BY_RUNNING_BUILD
SORT_BY_STATUS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AgentListForm.SORT_OPTION
valueOf(String name)
Returns the enum constant of this type with the specified name.static AgentListForm.SORT_OPTION[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SORT_BY_CPU_RANK
public static final AgentListForm.SORT_OPTION SORT_BY_CPU_RANK
-
SORT_BY_NAME
public static final AgentListForm.SORT_OPTION SORT_BY_NAME
-
SORT_BY_STATUS
public static final AgentListForm.SORT_OPTION SORT_BY_STATUS
-
SORT_BY_LAST_ACTIVITY_DATE
public static final AgentListForm.SORT_OPTION SORT_BY_LAST_ACTIVITY_DATE
-
SORT_BY_CONNECTION_STATUS
public static final AgentListForm.SORT_OPTION SORT_BY_CONNECTION_STATUS
-
SORT_BY_RUNNING_BUILD
public static final AgentListForm.SORT_OPTION SORT_BY_RUNNING_BUILD
-
SORT_BY_INACTIVITY_REASON
public static final AgentListForm.SORT_OPTION SORT_BY_INACTIVITY_REASON
-
-
Method Detail
-
values
public static AgentListForm.SORT_OPTION[] 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 (AgentListForm.SORT_OPTION c : AgentListForm.SORT_OPTION.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AgentListForm.SORT_OPTION 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
-
-