Package com.yahoo.config.provision
Enum NodeType
- java.lang.Object
-
- java.lang.Enum<NodeType>
-
- com.yahoo.config.provision.NodeType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description config
A config serverconfighost
A host of a (Docker) config server nodecontroller
A controllercontrollerhost
A host of a (Docker) controller nodehost
A host of a set of (Docker) tenant nodesproxy
Nodes running the shared proxy layerproxyhost
A host of a (Docker) proxy nodetenant
A node to be assigned to a tenant to run application workloads
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeType
childNodeType()
java.lang.String
description()
boolean
isDockerHost()
static NodeType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NodeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
tenant
public static final NodeType tenant
A node to be assigned to a tenant to run application workloads
-
host
public static final NodeType host
A host of a set of (Docker) tenant nodes
-
proxy
public static final NodeType proxy
Nodes running the shared proxy layer
-
proxyhost
public static final NodeType proxyhost
A host of a (Docker) proxy node
-
config
public static final NodeType config
A config server
-
confighost
public static final NodeType confighost
A host of a (Docker) config server node
-
controller
public static final NodeType controller
A controller
-
controllerhost
public static final NodeType controllerhost
A host of a (Docker) controller node
-
-
Method Detail
-
values
public static NodeType[] 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 (NodeType c : NodeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isDockerHost
public boolean isDockerHost()
-
description
public java.lang.String description()
-
-