public class PlanIdentifierImpl extends Object implements PlanIdentifier
getPlanKeyFunction, NAME_DELIMITERgetPlanKey| Constructor and Description |
|---|
PlanIdentifierImpl(Long id,
String discriminator,
PlanKey planKey,
String description,
String buildName,
String buildKey,
boolean suspendedFromBuilding,
long projectId,
String projectKey,
String projectName,
String projectDescription,
Long masterId) |
PlanIdentifierImpl(PlanIdentifier plan) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBuildKey()
This objects specific portion of the key.
|
String |
getBuildName() |
Optional<Long> |
getDatabaseId() |
String |
getDescription() |
long |
getId()
Returns database id of the plan.
|
long |
getMasterId() |
Optional<Long> |
getMasterIdIfExists() |
String |
getName()
Returns the full name for the build in the form of "project name - build name" e.g.
|
PlanKey |
getPlanKey()
|
PlanType |
getPlanType() |
ProjectIdentifier |
getProject()
Returns the parent
Project |
boolean |
isSuspendedFromBuilding()
Checks if the build has been enabled / disabled.
|
public PlanIdentifierImpl(Long id, String discriminator, PlanKey planKey, String description, String buildName, String buildKey, boolean suspendedFromBuilding, long projectId, String projectKey, String projectName, String projectDescription, Long masterId)
public PlanIdentifierImpl(PlanIdentifier plan)
public long getId()
PlanIdentifierPlanIdentifier.getDatabaseId() should be preferred.getId in interface BambooIdProvidergetId in interface PlanIdentifier@NotNull public Optional<Long> getDatabaseId()
getDatabaseId in interface PlanIdentifier@NotNull public PlanType getPlanType()
getPlanType in interface PlanIdentifier@NotNull public PlanKey getPlanKey()
PlanIdentifiergetPlanKey in interface PlanIdentifiergetPlanKey in interface PlanKeyProvider@NotNull public String getBuildKey()
PlanIdentifierPlanIdentifier.getPlanKey().getBuildKey in interface PlanIdentifier@NotNull public String getName()
PlanIdentifiergetName in interface PlanIdentifiergetName in interface DescriptionProvidergetName in interface NameProvider@NotNull public String getBuildName()
getBuildName in interface PlanIdentifierPlanIdentifier.getName()public String getDescription()
getDescription in interface DescriptionProviderpublic boolean isSuspendedFromBuilding()
PlanIdentifierisSuspendedFromBuilding in interface PlanIdentifierpublic long getMasterId()
getMasterId in interface PlanIdentifier@NotNull public Optional<Long> getMasterIdIfExists()
getMasterIdIfExists in interface PlanIdentifier@NotNull public ProjectIdentifier getProject()
PlanIdentifierProjectgetProject in interface PlanIdentifierProject. Never nullCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.