io.sarl.sre.janus.boot.configs.subconfigs
Enumeration EventBusType
All Superinterfaces:
java.io.Serializable, java.lang.Comparable<T>, java.lang.constant.Constable
final enum EventBusType
extends java.lang.Object
Type of event bus to be created for each agent.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.12
Enumeration Constant Summary
Constant and description
POLYMORPHIC
The event bus is used the polymorphic-call method to have access to the event handlers.
REFLECT
The event bus is used the reflection method to have access to the event handlers.
Action Summary
Modifier and type Action and description
static EventBusType getDefault
Replies the default type of event bus.
static java.lang.String getJsonLabels
Replies the Json labels for the types of event bus.
java.lang.String toJsonString
Replies the Json string representation of this type.
static EventBusType valueOf(String)
static EventBusType valueOfCaseInsensitive(String)
Parse the given case insensitive string for obtaining the type.
static EventBusType values
Enumeration Constant Details
POLYMORPHIC
static val POLYMORPHIC : EventBusType
The event bus is used the polymorphic-call method to have access to the event handlers.
REFLECT
static val REFLECT : EventBusType
The event bus is used the reflection method to have access to the event handlers.
Action Details
getDefault
def getDefault : EventBusType
Replies the default type of event bus.
Returns:
the default type.
getJsonLabels
def getJsonLabels : java.lang.String
Replies the Json labels for the types of event bus.
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) : EventBusType
valueOfCaseInsensitive(String)
def valueOfCaseInsensitive(String) : EventBusType
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 : EventBusType