Enum LogTypeEnum
- java.lang.Object
-
- java.lang.Enum<LogTypeEnum>
-
- com.sumologic.jenkins.jenkinssumologicplugin.constants.LogTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<LogTypeEnum>
public enum LogTypeEnum extends Enum<LogTypeEnum>
Sumo Logic plugin for Jenkins model.Log Type Enum
Created by Sourabh Jain on 5/2019.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGENT_EVENTAUDIT_EVENTJENKINS_LOGJOB_STATUSPIPELINE_STAGESQUEUE_EVENTSCM_STATUSTEST_RESULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static LogTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static LogTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JOB_STATUS
public static final LogTypeEnum JOB_STATUS
-
TEST_RESULT
public static final LogTypeEnum TEST_RESULT
-
PIPELINE_STAGES
public static final LogTypeEnum PIPELINE_STAGES
-
AUDIT_EVENT
public static final LogTypeEnum AUDIT_EVENT
-
QUEUE_EVENT
public static final LogTypeEnum QUEUE_EVENT
-
AGENT_EVENT
public static final LogTypeEnum AGENT_EVENT
-
SCM_STATUS
public static final LogTypeEnum SCM_STATUS
-
JENKINS_LOG
public static final LogTypeEnum JENKINS_LOG
-
-
Method Detail
-
values
public static LogTypeEnum[] 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 (LogTypeEnum c : LogTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogTypeEnum 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()
-
-