io.sarl.sre.janus.boot.configs.subconfigs
Enumeration RootContextType
All Superinterfaces:
java.io.Serializable, java.lang.Comparable<T>, java.lang.constant.Constable
final enum RootContextType
extends java.lang.Object
Type of root context at boot time.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.8.0
Enumeration Constant Summary
Constant and description
BOOT_AGENT_NAME
The identifier is computed from the name of the boot agent.
DEFAULT
The identifier is the default one.
RANDOM
The identifier is computed randomly.
Action Summary
Modifier and type Action and description
static RootContextType getDefault
Replies the default type of context id computation.
static java.lang.String getJsonLabels
Replies the Json labels for the types of context id.
java.lang.String toJsonString
Replies the Json string representation of this type.
static RootContextType valueOf(String)
static RootContextType valueOfCaseInsensitive(String)
Parse the given case insensitive string for obtaining the type.
static RootContextType values
Enumeration Constant Details
BOOT_AGENT_NAME
static val BOOT_AGENT_NAME : RootContextType
The identifier is computed from the name of the boot agent.
DEFAULT
static val DEFAULT : RootContextType
The identifier is the default one.
RANDOM
static val RANDOM : RootContextType
The identifier is computed randomly.
Action Details
getDefault
def getDefault : RootContextType
Replies the default type of context id computation.
Returns:
the default type.
getJsonLabels
def getJsonLabels : java.lang.String
Replies the Json labels for the types of context id.
Returns:
the labels.
toJsonString
def toJsonString : java.lang.String
Replies the Json string representation of this type.
Returns:
the Json string representation.
valueOf(String)
def valueOf(String) : RootContextType
valueOfCaseInsensitive(String)
def valueOfCaseInsensitive(String) : RootContextType
Parse the given case insensitive string for obtaining the type.
Parameters:
name - the string to parse.
Returns:
the type.
Throws exception:
  • java.lang.NullPointerException: when the specified name is null
values
def values : RootContextType