Package org.jenkinsci.plugins.p4.review
Enum ReviewProp
- java.lang.Object
-
- java.lang.Enum<ReviewProp>
-
- org.jenkinsci.plugins.p4.review.ReviewProp
-
- All Implemented Interfaces:
Serializable
,Comparable<ReviewProp>
public enum ReviewProp extends Enum<ReviewProp>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EVENT_TYPE
P4_CHANGE
P4_LABEL
P4_PORT
SWARM_BRANCH
SWARM_FAIL
SWARM_PASS
SWARM_PATH
SWARM_PROJECT
SWARM_REVIEW
SWARM_STATUS
SWARM_UPDATE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getProp()
boolean
isLoad()
static boolean
isProp(String prop)
String
toString()
static ReviewProp
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReviewProp[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SWARM_STATUS
public static final ReviewProp SWARM_STATUS
-
SWARM_REVIEW
public static final ReviewProp SWARM_REVIEW
-
SWARM_PASS
public static final ReviewProp SWARM_PASS
-
SWARM_FAIL
public static final ReviewProp SWARM_FAIL
-
SWARM_UPDATE
public static final ReviewProp SWARM_UPDATE
-
SWARM_PROJECT
public static final ReviewProp SWARM_PROJECT
-
SWARM_BRANCH
public static final ReviewProp SWARM_BRANCH
-
SWARM_PATH
public static final ReviewProp SWARM_PATH
-
P4_CHANGE
public static final ReviewProp P4_CHANGE
-
P4_LABEL
public static final ReviewProp P4_LABEL
-
P4_PORT
public static final ReviewProp P4_PORT
-
EVENT_TYPE
public static final ReviewProp EVENT_TYPE
-
-
Field Detail
-
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ReviewProp[] 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 (ReviewProp c : ReviewProp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReviewProp 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<ReviewProp>
-
getProp
public String getProp()
-
isLoad
public boolean isLoad()
-
isProp
public static boolean isProp(String prop)
-
-