Package com.splunk.splunkjenkins.model
Enum Class EventType
- All Implemented Interfaces:
Serializable
,Comparable<EventType>
,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionboolean
Need spit the content line by line if raw event not supported Only applied for non-structural data, such as file and console text.static EventType
Returns the enum constant of this class with the specified name.static EventType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BUILD_REPORT
-
BUILD_EVENT
-
QUEUE_INFO
-
JENKINS_CONFIG
-
CONSOLE_LOG
-
FILE
-
SLAVE_INFO
-
LOG
-
BATCH_JSON
-
JSON_FILE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
needSplit
public boolean needSplit()Need spit the content line by line if raw event not supported Only applied for non-structural data, such as file and console text. It doesn't applied for json data or xml data- Returns:
true
if need spit the contents line by line if raw event not supported;false
otherwise.
-
getKey
- Parameters:
suffix
- the config metadata, can be either index, source or sourcetype- Returns:
- return name.suffix
-