Enum EndpointStatus.Status
- java.lang.Object
-
- java.lang.Enum<EndpointStatus.Status>
-
- com.yahoo.vespa.hosted.controller.api.application.v4.model.EndpointStatus.Status
-
- All Implemented Interfaces:
Serializable,Comparable<EndpointStatus.Status>
- Enclosing class:
- EndpointStatus
public static enum EndpointStatus.Status extends Enum<EndpointStatus.Status>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EndpointStatus.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static EndpointStatus.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
in
public static final EndpointStatus.Status in
-
out
public static final EndpointStatus.Status out
-
unknown
public static final EndpointStatus.Status unknown
-
-
Method Detail
-
values
public static EndpointStatus.Status[] 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 (EndpointStatus.Status c : EndpointStatus.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EndpointStatus.Status 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
-
-