com.atlassian.bamboo.ww2.actions.build
Class AbstractBuildJsonDecorator
java.lang.Object
com.atlassian.bamboo.ww2.actions.build.AbstractBuildJsonDecorator
- Direct Known Subclasses:
- ChainExecutionJsonDecorator, CurrentlyBuildingJsonDecorator, QueuedBuildJsonDecorator
public class AbstractBuildJsonDecorator
- extends java.lang.Object
Base class for builds used in rendering JSON
Constructor Summary |
AbstractBuildJsonDecorator(com.opensymphony.xwork.TextProvider textProvider,
BambooPermissionManager bambooPermissionManager,
java.lang.String planKey,
java.lang.String projectName,
java.lang.String chainName,
java.lang.String planName,
java.lang.String jobKey,
java.lang.String jobName,
java.lang.String buildResultKey,
java.lang.String planResultKey,
int buildNumber,
AbstractBuildJsonDecorator.BuildStatus buildStatus,
TriggerReason triggerReason,
TriggerManager triggerManager)
|
Method Summary |
protected com.opensymphony.webwork.dispatcher.json.JSONObject |
getBaseJson()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
triggerManager
protected final TriggerManager triggerManager
projectName
protected final java.lang.String projectName
chainName
protected final java.lang.String chainName
planName
protected final java.lang.String planName
planKey
protected final java.lang.String planKey
jobName
protected final java.lang.String jobName
jobKey
protected final java.lang.String jobKey
buildResultKey
protected final java.lang.String buildResultKey
planResultKey
protected final java.lang.String planResultKey
buildNumber
protected final int buildNumber
status
protected final AbstractBuildJsonDecorator.BuildStatus status
triggerReason
protected final TriggerReason triggerReason
hasReadPermission
protected final boolean hasReadPermission
hasBuildPermission
protected final boolean hasBuildPermission
messageType
protected AbstractBuildJsonDecorator.MessageType messageType
messageText
protected java.lang.String messageText
AbstractBuildJsonDecorator
public AbstractBuildJsonDecorator(@NotNull
com.opensymphony.xwork.TextProvider textProvider,
@NotNull
BambooPermissionManager bambooPermissionManager,
java.lang.String planKey,
java.lang.String projectName,
java.lang.String chainName,
java.lang.String planName,
java.lang.String jobKey,
java.lang.String jobName,
java.lang.String buildResultKey,
java.lang.String planResultKey,
int buildNumber,
AbstractBuildJsonDecorator.BuildStatus buildStatus,
TriggerReason triggerReason,
TriggerManager triggerManager)
getBaseJson
@NotNull
protected com.opensymphony.webwork.dispatcher.json.JSONObject getBaseJson()
throws com.opensymphony.webwork.dispatcher.json.JSONException
- Throws:
com.opensymphony.webwork.dispatcher.json.JSONException
Copyright © 2011 Atlassian. All Rights Reserved.