Package fr.gouv.vitam.common
Enum ServerIdentity.MAP_KEYNAME
- java.lang.Object
-
- java.lang.Enum<ServerIdentity.MAP_KEYNAME>
-
- fr.gouv.vitam.common.ServerIdentity.MAP_KEYNAME
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ServerIdentity.MAP_KEYNAME>
- Enclosing class:
- ServerIdentity
public static enum ServerIdentity.MAP_KEYNAME extends java.lang.Enum<ServerIdentity.MAP_KEYNAME>
Map key for setFromMap
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerIdentity.MAP_KEYNAME
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ServerIdentity.MAP_KEYNAME[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAME
public static final ServerIdentity.MAP_KEYNAME NAME
Server Hostname: String
-
ROLE
public static final ServerIdentity.MAP_KEYNAME ROLE
Server Role: String
-
SITEID
public static final ServerIdentity.MAP_KEYNAME SITEID
SiteId: Integer or String representing integer
-
SERVERID
public static final ServerIdentity.MAP_KEYNAME SERVERID
ServerId (Id of the VM/server): Integer or String representing integer
-
-
Method Detail
-
values
public static ServerIdentity.MAP_KEYNAME[] 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 (ServerIdentity.MAP_KEYNAME c : ServerIdentity.MAP_KEYNAME.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServerIdentity.MAP_KEYNAME 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
-
-