Package org.apache.guacamole.net.auth
Class AbstractActivityLog
java.lang.Object
org.apache.guacamole.net.auth.AbstractActivityLog
- All Implemented Interfaces:
ActivityLog
- Direct Known Subclasses:
FileActivityLog
Base implementation of an ActivityLog, providing storage and simple
getters/setters for its main properties.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.guacamole.net.auth.ActivityLog
ActivityLog.Type -
Field Summary
Fields inherited from interface org.apache.guacamole.net.auth.ActivityLog
UNKNOWN_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionAbstractActivityLog(ActivityLog.Type type, TranslatableMessage description) Creates a new AbstractActivityLog having the given type and human-readable description. -
Method Summary
Modifier and TypeMethodDescriptionReturns a human-readable message that describes this log.getType()Returns the type of this activity log.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.guacamole.net.auth.ActivityLog
getContent, getSize
-
Constructor Details
-
AbstractActivityLog
Creates a new AbstractActivityLog having the given type and human-readable description.- Parameters:
type- The type of this ActivityLog.description- A human-readable message that describes this log.
-
-
Method Details
-
getType
Description copied from interface:ActivityLogReturns the type of this activity log. The type of an activity log dictates how its content should be interpreted or exposed.- Specified by:
getTypein interfaceActivityLog- Returns:
- The type of this activity log.
-
getDescription
Description copied from interface:ActivityLogReturns a human-readable message that describes this log. This message should provide sufficient information for a user with access to this log to understand its context and/or purpose.- Specified by:
getDescriptionin interfaceActivityLog- Returns:
- A human-readable message that describes this log.
-