public class BuildQueueItemViewForJsonDecorator extends QueueItemViewForJsonDecorator
QueueItemViewForJsonDecorator.BuildStatus, QueueItemViewForJsonDecorator.ItemType
buildStatus, itemType, resultKey, triggerReason
Constructor and Description |
---|
BuildQueueItemViewForJsonDecorator(PlanKey chainKey,
String projectName,
String shortChainName,
String fullChainName,
PlanKey jobKey,
String jobName,
PlanResultKey jobOrChainResultKey,
PlanResultKey chainResultKey,
int buildNumber,
QueueItemViewForJsonDecorator.BuildStatus buildStatus,
TriggerReason triggerReason,
boolean isBranch) |
Modifier and Type | Method and Description |
---|---|
int |
getBuildNumber() |
String |
getBuildResultKey()
Deprecated.
since 6.0 use
getJobResultKey() instead |
PlanKey |
getChainKey() |
String |
getChainName() |
PlanResultKey |
getChainResultKey() |
String |
getJobKey()
Deprecated.
since 6.0 use
getTypedJobKey() instead |
String |
getJobName() |
PlanResultKey |
getJobResultKey() |
String |
getPlanKey()
Deprecated.
since 6.0 use
getChainKey() instead |
String |
getPlanName() |
String |
getPlanResultKey()
Deprecated.
since 6.0 use
getChainResultKey() instead |
String |
getProjectName() |
PlanKey |
getTypedJobKey() |
boolean |
isBranch() |
getBuildStatus, getItemType, getResultKey, getTriggerReason
public BuildQueueItemViewForJsonDecorator(PlanKey chainKey, @Nullable String projectName, String shortChainName, @Nullable String fullChainName, @Nullable PlanKey jobKey, @Nullable String jobName, @NotNull PlanResultKey jobOrChainResultKey, @Nullable PlanResultKey chainResultKey, int buildNumber, QueueItemViewForJsonDecorator.BuildStatus buildStatus, TriggerReason triggerReason, boolean isBranch)
@Deprecated public String getPlanKey()
getChainKey()
insteadpublic PlanKey getChainKey()
public String getProjectName()
public String getJobName()
public String getPlanName()
public String getChainName()
@Nullable @Deprecated public String getJobKey()
getTypedJobKey()
instead@Nullable public PlanKey getTypedJobKey()
@Deprecated public String getBuildResultKey()
getJobResultKey()
instead@Deprecated public String getPlanResultKey()
getChainResultKey()
instead@Nullable public PlanResultKey getChainResultKey()
public PlanResultKey getJobResultKey()
public int getBuildNumber()
public boolean isBranch()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.