public enum BambooEntityType extends Enum<BambooEntityType>
BambooEntityOid.| Enum Constant and Description |
|---|
ARTIFACT_DEFINITION |
CHAIN |
CHAIN_BRANCH |
DEPLOYMENT_PROJECT |
JOB |
JOB_BRANCH |
PROJECT |
REPOSITORY |
SHARED_CREDENTIAL |
STAGE |
TASK |
| Modifier and Type | Method and Description |
|---|---|
static BambooEntityType |
fromTypeId(int typeId)
Obtains an enum constant of
BambooEntityType by type ID. |
int |
getTypeId()
Returns the type ID of this enum constant.
|
static BambooEntityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BambooEntityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BambooEntityType CHAIN
public static final BambooEntityType STAGE
public static final BambooEntityType JOB
public static final BambooEntityType REPOSITORY
public static final BambooEntityType CHAIN_BRANCH
public static final BambooEntityType JOB_BRANCH
public static final BambooEntityType TASK
public static final BambooEntityType PROJECT
public static final BambooEntityType ARTIFACT_DEFINITION
public static final BambooEntityType DEPLOYMENT_PROJECT
public static final BambooEntityType SHARED_CREDENTIAL
public static BambooEntityType[] values()
for (BambooEntityType c : BambooEntityType.values()) System.out.println(c);
public static BambooEntityType 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 int getTypeId()
Enum.ordinal.@NotNull public static BambooEntityType fromTypeId(int typeId)
BambooEntityType by type ID.typeId - unique type ID; not related to Enum.ordinal()BambooEntityType instance assigned to the given ID.IllegalArgumentException - if no BambooEntityType with the given ID could be found.Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.