public enum ReviewProp extends Enum<ReviewProp>
Enum Constant and Description |
---|
EVENT_TYPE |
P4_CHANGE |
P4_LABEL |
P4_PORT |
SWARM_BRANCH |
SWARM_FAIL |
SWARM_PASS |
SWARM_PATH |
SWARM_PROJECT |
SWARM_REVIEW |
SWARM_STATUS |
Modifier and Type | Method and 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.
|
public static final ReviewProp SWARM_STATUS
public static final ReviewProp SWARM_REVIEW
public static final ReviewProp SWARM_PASS
public static final ReviewProp SWARM_FAIL
public static final ReviewProp SWARM_PROJECT
public static final ReviewProp SWARM_BRANCH
public static final ReviewProp SWARM_PATH
public static final ReviewProp P4_CHANGE
public static final ReviewProp P4_LABEL
public static final ReviewProp P4_PORT
public static final ReviewProp EVENT_TYPE
public static final String NAMESPACE
public static ReviewProp[] values()
for (ReviewProp c : ReviewProp.values()) System.out.println(c);
public static ReviewProp valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<ReviewProp>
public String getProp()
public boolean isLoad()
public static boolean isProp(String prop)
Copyright © 2016–2022. All rights reserved.