Enum ParallelNodeTypeEnum
- java.lang.Object
-
- java.lang.Enum<ParallelNodeTypeEnum>
-
- com.sumologic.jenkins.jenkinssumologicplugin.constants.ParallelNodeTypeEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<ParallelNodeTypeEnum>
public enum ParallelNodeTypeEnum extends Enum<ParallelNodeTypeEnum>
Sumo Logic plugin for Jenkins model.Parallel Node Type Enum
Created by Sourabh Jain on 5/2019.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NORMAL
PARALLEL_BRANCH_END
PARALLEL_BRANCH_START
PARALLEL_END
PARALLEL_START
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ParallelNodeTypeEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static ParallelNodeTypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final ParallelNodeTypeEnum NORMAL
-
PARALLEL_START
public static final ParallelNodeTypeEnum PARALLEL_START
-
PARALLEL_END
public static final ParallelNodeTypeEnum PARALLEL_END
-
PARALLEL_BRANCH_START
public static final ParallelNodeTypeEnum PARALLEL_BRANCH_START
-
PARALLEL_BRANCH_END
public static final ParallelNodeTypeEnum PARALLEL_BRANCH_END
-
-
Method Detail
-
values
public static ParallelNodeTypeEnum[] 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 (ParallelNodeTypeEnum c : ParallelNodeTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParallelNodeTypeEnum 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
-
-