public class PlanIdentifierImpl extends Object implements PlanIdentifier
getPlanKeyFunction
getPlanKey
Constructor and Description |
---|
PlanIdentifierImpl(long id,
String discriminator,
PlanKey planKey,
String description,
String buildName,
String buildKey,
boolean suspendedFromBuilding,
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() |
String |
getDescription() |
long |
getId() |
long |
getMasterId()
Database id of master of this ChainBranch
|
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, String projectKey, String projectName, String projectDescription, Long masterId)
public PlanIdentifierImpl(PlanIdentifier plan)
public long getId()
getId
in interface BambooIdProvider
getId
in interface PlanIdentifier
@NotNull public PlanType getPlanType()
getPlanType
in interface PlanIdentifier
@NotNull public PlanKey getPlanKey()
PlanIdentifier
getPlanKey
in interface PlanIdentifier
getPlanKey
in interface PlanKeyProvider
@NotNull public String getBuildKey()
PlanIdentifier
PlanIdentifier.getPlanKey()
.getBuildKey
in interface PlanIdentifier
@NotNull public String getName()
PlanIdentifier
getName
in interface PlanIdentifier
getName
in interface DescriptionProvider
getName
in interface NameProvider
@NotNull public String getBuildName()
getBuildName
in interface PlanIdentifier
PlanIdentifier.getName()
public String getDescription()
getDescription
in interface DescriptionProvider
public boolean isSuspendedFromBuilding()
PlanIdentifier
isSuspendedFromBuilding
in interface PlanIdentifier
public long getMasterId()
PlanIdentifier
getMasterId
in interface PlanIdentifier
@NotNull public ProjectIdentifier getProject()
PlanIdentifier
Project
getProject
in interface PlanIdentifier
Project
. Never nullCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.