Package org.apache.guacamole.net.auth
Class AbstractConnectionGroup
- java.lang.Object
-
- org.apache.guacamole.net.auth.AbstractIdentifiable
-
- org.apache.guacamole.net.auth.AbstractConnectionGroup
-
- All Implemented Interfaces:
Attributes
,Connectable
,ConnectionGroup
,Identifiable
,ReadableAttributes
- Direct Known Subclasses:
SimpleConnectionGroup
public abstract class AbstractConnectionGroup extends AbstractIdentifiable implements ConnectionGroup
Basic implementation of a Guacamole connection group.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.guacamole.net.auth.ConnectionGroup
ConnectionGroup.Type
-
-
Constructor Summary
Constructors Constructor Description AbstractConnectionGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
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.-
Methods inherited from class org.apache.guacamole.net.auth.AbstractIdentifiable
equals, getIdentifier, hashCode, setIdentifier
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.guacamole.net.auth.Attributes
setAttributes
-
Methods inherited from interface org.apache.guacamole.net.auth.Connectable
connect, connect, getActiveConnections
-
Methods inherited from interface org.apache.guacamole.net.auth.ConnectionGroup
getConnectionGroupIdentifiers, getConnectionIdentifiers
-
Methods inherited from interface org.apache.guacamole.net.auth.Identifiable
getIdentifier, setIdentifier
-
Methods inherited from interface org.apache.guacamole.net.auth.ReadableAttributes
getAttributes
-
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:ConnectionGroup
Returns the name assigned to this ConnectionGroup.- Specified by:
getName
in interfaceConnectionGroup
- Returns:
- The name assigned to this ConnectionGroup.
-
setName
public void setName(String name)
Description copied from interface:ConnectionGroup
Sets the name assigned to this ConnectionGroup.- Specified by:
setName
in interfaceConnectionGroup
- Parameters:
name
- The name to assign.
-
getParentIdentifier
public String getParentIdentifier()
Description copied from interface:ConnectionGroup
Returns the unique identifier of the parent ConnectionGroup for this ConnectionGroup.- Specified by:
getParentIdentifier
in interfaceConnectionGroup
- Returns:
- The unique identifier of the parent ConnectionGroup for this ConnectionGroup.
-
setParentIdentifier
public void setParentIdentifier(String parentIdentifier)
Description copied from interface:ConnectionGroup
Sets the unique identifier of the parent ConnectionGroup for this ConnectionGroup.- Specified by:
setParentIdentifier
in interfaceConnectionGroup
- Parameters:
parentIdentifier
- The unique identifier of the parent ConnectionGroup for this ConnectionGroup.
-
getType
public ConnectionGroup.Type getType()
Description copied from interface:ConnectionGroup
Returns the type of this connection.- Specified by:
getType
in interfaceConnectionGroup
- Returns:
- the type of this connection.
-
setType
public void setType(ConnectionGroup.Type type)
Description copied from interface:ConnectionGroup
Set the type of this ConnectionGroup.- Specified by:
setType
in interfaceConnectionGroup
- Parameters:
type
- The type of this ConnectionGroup.
-
-