Package org.apache.guacamole.net.auth
Enum ConnectionGroup.Type
- java.lang.Object
-
- java.lang.Enum<ConnectionGroup.Type>
-
- org.apache.guacamole.net.auth.ConnectionGroup.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<ConnectionGroup.Type>
- Enclosing interface:
- ConnectionGroup
public static enum ConnectionGroup.Type extends Enum<ConnectionGroup.Type>
All legal types of connection group.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BALANCING
A connection group that acts as a load balancer.ORGANIZATIONAL
A connection group that purely organizes other connections or connection groups, serving only as a container.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConnectionGroup.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConnectionGroup.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ORGANIZATIONAL
public static final ConnectionGroup.Type ORGANIZATIONAL
A connection group that purely organizes other connections or connection groups, serving only as a container. An organizational connection group is analogous to a directory or folder in a filesystem.
-
BALANCING
public static final ConnectionGroup.Type BALANCING
A connection group that acts as a load balancer. A balancing connection group can be connected to in the same manner as a connection, and will transparently route to the least-used underlying connection.
-
-
Method Detail
-
values
public static ConnectionGroup.Type[] 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 (ConnectionGroup.Type c : ConnectionGroup.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConnectionGroup.Type 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
-
-