Enum EventSourceEnum
- java.lang.Object
-
- java.lang.Enum<EventSourceEnum>
-
- com.sumologic.jenkins.jenkinssumologicplugin.constants.EventSourceEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<EventSourceEnum>
public enum EventSourceEnum extends Enum<EventSourceEnum>
Sumo Logic plugin for Jenkins model.Event Source Enum
Created by Sourabh Jain on 5/2019.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPUTER_OFFLINE
COMPUTER_ONLINE
COMPUTER_PRE_LAUNCH
COMPUTER_PRE_ONLINE
COMPUTER_TEMP_OFFLINE
COMPUTER_TEMP_ONLINE
LAUNCH_FAILURE
PERIODIC_UPDATE
SHUTDOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static EventSourceEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static EventSourceEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PERIODIC_UPDATE
public static final EventSourceEnum PERIODIC_UPDATE
-
COMPUTER_ONLINE
public static final EventSourceEnum COMPUTER_ONLINE
-
COMPUTER_OFFLINE
public static final EventSourceEnum COMPUTER_OFFLINE
-
COMPUTER_TEMP_ONLINE
public static final EventSourceEnum COMPUTER_TEMP_ONLINE
-
COMPUTER_TEMP_OFFLINE
public static final EventSourceEnum COMPUTER_TEMP_OFFLINE
-
COMPUTER_PRE_ONLINE
public static final EventSourceEnum COMPUTER_PRE_ONLINE
-
COMPUTER_PRE_LAUNCH
public static final EventSourceEnum COMPUTER_PRE_LAUNCH
-
LAUNCH_FAILURE
public static final EventSourceEnum LAUNCH_FAILURE
-
SHUTDOWN
public static final EventSourceEnum SHUTDOWN
-
-
Method Detail
-
values
public static EventSourceEnum[] 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 (EventSourceEnum c : EventSourceEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventSourceEnum 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()
-
-