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 StringgetName()Returns the name assigned to this ConnectionGroup.StringgetParentIdentifier()Returns the unique identifier of the parent ConnectionGroup for this ConnectionGroup.ConnectionGroup.TypegetType()Returns the type of this connection.voidsetName(String name)Sets the name assigned to this ConnectionGroup.voidsetParentIdentifier(String parentIdentifier)Sets the unique identifier of the parent ConnectionGroup for this ConnectionGroup.voidsetType(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:ConnectionGroupReturns the name assigned to this ConnectionGroup.- Specified by:
getNamein interfaceConnectionGroup- Returns:
- The name assigned to this ConnectionGroup.
-
setName
public void setName(String name)
Description copied from interface:ConnectionGroupSets the name assigned to this ConnectionGroup.- Specified by:
setNamein interfaceConnectionGroup- Parameters:
name- The name to assign.
-
getParentIdentifier
public String getParentIdentifier()
Description copied from interface:ConnectionGroupReturns the unique identifier of the parent ConnectionGroup for this ConnectionGroup.- Specified by:
getParentIdentifierin interfaceConnectionGroup- Returns:
- The unique identifier of the parent ConnectionGroup for this ConnectionGroup.
-
setParentIdentifier
public void setParentIdentifier(String parentIdentifier)
Description copied from interface:ConnectionGroupSets the unique identifier of the parent ConnectionGroup for this ConnectionGroup.- Specified by:
setParentIdentifierin interfaceConnectionGroup- Parameters:
parentIdentifier- The unique identifier of the parent ConnectionGroup for this ConnectionGroup.
-
getType
public ConnectionGroup.Type getType()
Description copied from interface:ConnectionGroupReturns the type of this connection.- Specified by:
getTypein interfaceConnectionGroup- Returns:
- the type of this connection.
-
setType
public void setType(ConnectionGroup.Type type)
Description copied from interface:ConnectionGroupSet the type of this ConnectionGroup.- Specified by:
setTypein interfaceConnectionGroup- Parameters:
type- The type of this ConnectionGroup.
-
-