Class RestEnvironment
- java.lang.Object
-
- com.atlassian.bamboo.rest.model.deployments.environments.RestEnvironment
-
- Direct Known Subclasses:
RestEnvironmentWithConfigCounts
public class RestEnvironment extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRestEnvironment()RestEnvironment(long id, String name)RestEnvironment(@NotNull EnvironmentStub environment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationStategetConfigurationState()longgetDeploymentProjectId()StringgetDescription()longgetId()@NotNull RestKeygetKey()@NotNull StringgetName()RestOperationsgetOperations()intgetPosition()@NotNull ReleaseApprovalPrerequisitegetReleaseApprovalPrerequisite()@NotNull List<TaskDefinition>getTaskDefinitions()@NotNull List<TriggerDefinition>getTriggerDefinitions()booleanisSuspended()
-
-
-
Constructor Detail
-
RestEnvironment
protected RestEnvironment()
-
RestEnvironment
public RestEnvironment(@NotNull @NotNull EnvironmentStub environment)
-
RestEnvironment
public RestEnvironment(long id, String name)
-
-
Method Detail
-
getId
public long getId()
-
getKey
@NotNull public @NotNull RestKey getKey()
-
getName
@NotNull public @NotNull String getName()
-
getDescription
public String getDescription()
-
getTaskDefinitions
@NotNull public @NotNull List<TaskDefinition> getTaskDefinitions()
-
getTriggerDefinitions
@NotNull public @NotNull List<TriggerDefinition> getTriggerDefinitions()
-
getConfigurationState
public ConfigurationState getConfigurationState()
-
isSuspended
public boolean isSuspended()
-
getDeploymentProjectId
public long getDeploymentProjectId()
-
getOperations
public RestOperations getOperations()
-
getPosition
public int getPosition()
-
getReleaseApprovalPrerequisite
@NotNull public @NotNull ReleaseApprovalPrerequisite getReleaseApprovalPrerequisite()
-
-