Enum AuditEventTypeEnum
- java.lang.Object
-
- java.lang.Enum<AuditEventTypeEnum>
-
- com.sumologic.jenkins.jenkinssumologicplugin.constants.AuditEventTypeEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<AuditEventTypeEnum>
public enum AuditEventTypeEnum extends Enum<AuditEventTypeEnum>
Sumo Logic plugin for Jenkins model.Audit Event Type Enum
Created by Sourabh Jain on 5/2019.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHANGES_IN_CONFIG
COPIED
CREATED
DELETED
JOB_ABORTED
JOB_FINISHED
JOB_STARTED
LOCATION_CHANGED
LOGIN
LOGIN_FAILURE
LOGOUT
UPDATED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
String
getValue()
static AuditEventTypeEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static AuditEventTypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOGIN
public static final AuditEventTypeEnum LOGIN
-
LOGOUT
public static final AuditEventTypeEnum LOGOUT
-
LOGIN_FAILURE
public static final AuditEventTypeEnum LOGIN_FAILURE
-
JOB_STARTED
public static final AuditEventTypeEnum JOB_STARTED
-
JOB_ABORTED
public static final AuditEventTypeEnum JOB_ABORTED
-
JOB_FINISHED
public static final AuditEventTypeEnum JOB_FINISHED
-
CREATED
public static final AuditEventTypeEnum CREATED
-
DELETED
public static final AuditEventTypeEnum DELETED
-
UPDATED
public static final AuditEventTypeEnum UPDATED
-
COPIED
public static final AuditEventTypeEnum COPIED
-
LOCATION_CHANGED
public static final AuditEventTypeEnum LOCATION_CHANGED
-
CHANGES_IN_CONFIG
public static final AuditEventTypeEnum CHANGES_IN_CONFIG
-
-
Method Detail
-
values
public static AuditEventTypeEnum[] 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 (AuditEventTypeEnum c : AuditEventTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuditEventTypeEnum 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
-
getValue
public String getValue()
-
getMessage
public String getMessage()
-
-