Enum Class ChannelMessageTarget.Type
java.lang.Object
java.lang.Enum<ChannelMessageTarget.Type>
eu.cloudnetservice.driver.channel.ChannelMessageTarget.Type
- All Implemented Interfaces:
Serializable,Comparable<ChannelMessageTarget.Type>,Constable
- Enclosing class:
ChannelMessageTarget
The possible types of targets a channel message can have. Intended for internal differentiation only.
- Since:
- 4.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll available components.One or multiple nodes in the network.One or multiple services in the network.All services in the network that are using the provided environment (identified by the required name).All services in the network that are in on the provided group (identified by the required name).All services in the network that are based on the provided task (identified by the required name).All services in the network that have the given property key with any value (identified by the required name). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ChannelMessageTarget.TypeReturns the enum constant of this class with the specified name.static ChannelMessageTarget.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL
All available components. No name is associated with this target. -
NODE
One or multiple nodes in the network. A name can be supplied to select one particular target node. -
SERVICE
One or multiple services in the network. A name can be supplied to select one particular target service. -
SERVICES_BY_TASK
All services in the network that are based on the provided task (identified by the required name). -
SERVICES_BY_GROUP
All services in the network that are in on the provided group (identified by the required name). -
SERVICES_BY_ENV
All services in the network that are using the provided environment (identified by the required name). -
SERVICES_WITH_PROPERTY
All services in the network that have the given property key with any value (identified by the required name).
-
-
Constructor Details
-
Type
private Type()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-