Enum ContainerServiceType
- java.lang.Object
-
- java.lang.Enum<ContainerServiceType>
-
- com.yahoo.config.model.api.container.ContainerServiceType
-
- All Implemented Interfaces:
Serializable
,Comparable<ContainerServiceType>
public enum ContainerServiceType extends Enum<ContainerServiceType>
- Author:
- gjoranv
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLUSTERCONTROLLER_CONTAINER
CONTAINER
LOGSERVER_CONTAINER
METRICS_PROXY_CONTAINER
QRSERVER
-
Field Summary
Fields Modifier and Type Field Description String
serviceName
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContainerServiceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ContainerServiceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTAINER
public static final ContainerServiceType CONTAINER
-
QRSERVER
public static final ContainerServiceType QRSERVER
-
CLUSTERCONTROLLER_CONTAINER
public static final ContainerServiceType CLUSTERCONTROLLER_CONTAINER
-
LOGSERVER_CONTAINER
public static final ContainerServiceType LOGSERVER_CONTAINER
-
METRICS_PROXY_CONTAINER
public static final ContainerServiceType METRICS_PROXY_CONTAINER
-
-
Field Detail
-
serviceName
public final String serviceName
-
-
Method Detail
-
values
public static ContainerServiceType[] 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 (ContainerServiceType c : ContainerServiceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContainerServiceType 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
-
-