Enum NodeType
- java.lang.Object
-
- java.lang.Enum<NodeType>
-
- com.yahoo.vespa.hosted.controller.api.integration.noderepository.NodeType
-
- All Implemented Interfaces:
Serializable,Comparable<NodeType>
public enum NodeType extends Enum<NodeType>
The possible types of nodes in the node repository- Author:
- bjorncs
-
-
Enum Constant Summary
Enum Constants Enum Constant Description configA config serverconfighostA host of a (docker) config server nodecontrollerA controllercontrollerhostA host of a (docker) controller nodehostA host of a set of (docker) tenant nodesproxyNodes running the shared proxy layerproxyhostA host of a (docker) proxy nodetenantA node to be assigned to a tenant to run application workloads
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeTypevalueOf(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(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
-
-