public enum ProjectEntityType extends java.lang.Enum<ProjectEntityType>
ProjectEntity types together
with the way to load them from the StructureService service.| Enum Constant and Description |
|---|
BRANCH |
BUILD |
PROJECT |
PROMOTION_LEVEL |
PROMOTION_RUN |
VALIDATION_RUN |
VALIDATION_STAMP |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayName() |
java.util.function.Function<ID,ProjectEntity> |
getEntityFn(StructureService structureService) |
static ProjectEntityType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProjectEntityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProjectEntityType PROJECT
public static final ProjectEntityType BRANCH
public static final ProjectEntityType PROMOTION_LEVEL
public static final ProjectEntityType VALIDATION_STAMP
public static final ProjectEntityType BUILD
public static final ProjectEntityType PROMOTION_RUN
public static final ProjectEntityType VALIDATION_RUN
public static ProjectEntityType[] values()
for (ProjectEntityType c : ProjectEntityType.values()) System.out.println(c);
public static ProjectEntityType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.util.function.Function<ID,ProjectEntity> getEntityFn(StructureService structureService)
public java.lang.String getDisplayName()