Package org.apache.guacamole.net.auth
Enum ActivityLog.Type
- java.lang.Object
-
- java.lang.Enum<ActivityLog.Type>
-
- org.apache.guacamole.net.auth.ActivityLog.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<ActivityLog.Type>
- Enclosing interface:
- ActivityLog
public static enum ActivityLog.Type extends Enum<ActivityLog.Type>
All possible types ofActivityLog
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GUACAMOLE_SESSION_RECORDING
A Guacamole session recording in the form of a Guacamole protocol dump.SERVER_LOG
A text log from a server-side process, such as the Guacamole web application or guacd.TYPESCRIPT
A text session recording in the form of a standard typescript.TYPESCRIPT_TIMING
The timing file related to a typescript.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
Returns the MIME type of the content of an activity log of this type, as might be sent via the HTTP "Content-Type" header.static ActivityLog.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static ActivityLog.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GUACAMOLE_SESSION_RECORDING
public static final ActivityLog.Type GUACAMOLE_SESSION_RECORDING
A Guacamole session recording in the form of a Guacamole protocol dump.
-
SERVER_LOG
public static final ActivityLog.Type SERVER_LOG
A text log from a server-side process, such as the Guacamole web application or guacd.
-
TYPESCRIPT
public static final ActivityLog.Type TYPESCRIPT
A text session recording in the form of a standard typescript.
-
TYPESCRIPT_TIMING
public static final ActivityLog.Type TYPESCRIPT_TIMING
The timing file related to a typescript.
-
-
Method Detail
-
values
public static ActivityLog.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 (ActivityLog.Type c : ActivityLog.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 ActivityLog.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
-
getContentType
public String getContentType()
Returns the MIME type of the content of an activity log of this type, as might be sent via the HTTP "Content-Type" header.- Returns:
- The MIME type of the content of an activity log of this type.
-
-