public interface ConnectionGroup extends Identifiable, Connectable
Modifier and Type | Interface and Description |
---|---|
static class |
ConnectionGroup.Type
All legal types of connection group.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getAttributes()
Returns all attributes associated with this connection group.
|
Set<String> |
getConnectionGroupIdentifiers()
Returns the identifiers of all readable connection groups that are
children of this connection group.
|
Set<String> |
getConnectionIdentifiers()
Returns the identifiers of all readable connections that are children
of this connection group.
|
String |
getName()
Returns the name assigned to this ConnectionGroup.
|
String |
getParentIdentifier()
Returns the unique identifier of the parent ConnectionGroup for
this ConnectionGroup.
|
ConnectionGroup.Type |
getType()
Returns the type of this connection.
|
void |
setAttributes(Map<String,String> attributes)
Sets the given attributes.
|
void |
setName(String name)
Sets the name assigned to this ConnectionGroup.
|
void |
setParentIdentifier(String parentIdentifier)
Sets the unique identifier of the parent ConnectionGroup for
this ConnectionGroup.
|
void |
setType(ConnectionGroup.Type type)
Set the type of this ConnectionGroup.
|
getIdentifier, setIdentifier
connect, getActiveConnections
String getName()
void setName(String name)
name
- The name to assign.String getParentIdentifier()
void setParentIdentifier(String parentIdentifier)
parentIdentifier
- The unique identifier of the parent
ConnectionGroup for this ConnectionGroup.void setType(ConnectionGroup.Type type)
type
- The type of this ConnectionGroup.ConnectionGroup.Type getType()
Set<String> getConnectionIdentifiers() throws org.apache.guacamole.GuacamoleException
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving the identifiers.Set<String> getConnectionGroupIdentifiers() throws org.apache.guacamole.GuacamoleException
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving the identifiers.Map<String,String> getAttributes()
void setAttributes(Map<String,String> attributes)
attributes
- A map of all attribute identifiers to their corresponding values.Copyright © 2017. All rights reserved.