com.atlassian.bamboo.ww2.actions.build
Class AbstractBuildJsonDecorator
java.lang.Object
com.atlassian.bamboo.ww2.actions.build.AbstractBuildJsonDecorator
- Direct Known Subclasses:
- ChainExecutionJsonDecorator, CurrentlyBuildingJsonDecorator, CurrentlyDeployingJsonDecorator, QueuedBuildJsonDecorator
public class AbstractBuildJsonDecorator
- extends Object
Base class for builds used in rendering JSON
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
queueItem
protected final QueueItemViewForJsonDecorator queueItem
hasReadPermission
protected final boolean hasReadPermission
hasBuildPermission
protected final boolean hasBuildPermission
messageType
protected AbstractBuildJsonDecorator.MessageType messageType
messageText
protected String messageText
AbstractBuildJsonDecorator
public AbstractBuildJsonDecorator(@NotNull
com.opensymphony.xwork2.TextProvider textProvider,
@NotNull
BambooPermissionManager bambooPermissionManager,
@NotNull
BuildQueueItemViewForJsonDecorator buildQueueItem,
TriggerManager triggerManager)
AbstractBuildJsonDecorator
public AbstractBuildJsonDecorator(@NotNull
com.opensymphony.xwork2.TextProvider textProvider,
@NotNull
EnvironmentService environmentService,
@NotNull
DeploymentQueueItemViewForJsonDecorator deploymentQueueItem,
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 © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.