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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
AbstractBuildJsonDecorator.MessageType
-
Field Summary
Fields Modifier and Type Field Description protected boolean
hasBuildPermission
protected boolean
hasReadPermission
protected String
messageText
protected AbstractBuildJsonDecorator.MessageType
messageType
protected QueueItemViewForJsonDecorator
queueItem
protected TriggerManager
triggerManager
-
Constructor Summary
Constructors Constructor Description AbstractBuildJsonDecorator(@NotNull com.opensymphony.xwork2.TextProvider textProvider, @NotNull BambooPermissionManager bambooPermissionManager, @NotNull BuildQueueItemViewForJsonDecorator buildQueueItem, TriggerManager triggerManager)
AbstractBuildJsonDecorator(@NotNull com.opensymphony.xwork2.TextProvider textProvider, @NotNull BambooPermissionManager bambooPermissionManager, @NotNull DeploymentQueueItemViewForJsonDecorator deploymentQueueItem, TriggerManager triggerManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
getBaseJson(JsonStream jsonBuildObject)
-
-
-
Field Detail
-
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
-
-
Constructor Detail
-
AbstractBuildJsonDecorator
public AbstractBuildJsonDecorator(@NotNull @NotNull com.opensymphony.xwork2.TextProvider textProvider, @NotNull @NotNull BambooPermissionManager bambooPermissionManager, @NotNull @NotNull BuildQueueItemViewForJsonDecorator buildQueueItem, TriggerManager triggerManager)
-
AbstractBuildJsonDecorator
public AbstractBuildJsonDecorator(@NotNull @NotNull com.opensymphony.xwork2.TextProvider textProvider, @NotNull @NotNull BambooPermissionManager bambooPermissionManager, @NotNull @NotNull DeploymentQueueItemViewForJsonDecorator deploymentQueueItem, TriggerManager triggerManager)
-
-
Method Detail
-
getBaseJson
protected void getBaseJson(JsonStream jsonBuildObject) throws IOException
- Throws:
IOException
-
-