Package com.yahoo.config.provision
Enum NodeResources.Architecture
- java.lang.Object
-
- java.lang.Enum<NodeResources.Architecture>
-
- com.yahoo.config.provision.NodeResources.Architecture
-
- All Implemented Interfaces:
Serializable
,Comparable<NodeResources.Architecture>
- Enclosing class:
- NodeResources
public static enum NodeResources.Architecture extends Enum<NodeResources.Architecture>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
compare(NodeResources.Architecture a, NodeResources.Architecture b)
boolean
compatibleWith(NodeResources.Architecture other)
static NodeResources.Architecture
getDefault()
boolean
isDefault()
static NodeResources.Architecture
valueOf(String name)
Returns the enum constant of this type with the specified name.static NodeResources.Architecture[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
x86_64
public static final NodeResources.Architecture x86_64
-
arm64
public static final NodeResources.Architecture arm64
-
any
public static final NodeResources.Architecture any
-
-
Method Detail
-
values
public static NodeResources.Architecture[] 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 (NodeResources.Architecture c : NodeResources.Architecture.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeResources.Architecture 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
-
compare
public static int compare(NodeResources.Architecture a, NodeResources.Architecture b)
-
compatibleWith
public boolean compatibleWith(NodeResources.Architecture other)
-
isDefault
public boolean isDefault()
-
getDefault
public static NodeResources.Architecture getDefault()
-
-