Class DecoratedEnvironmentImpl
- java.lang.Object
-
- com.atlassian.bamboo.deployments.environments.EnvironmentImpl
-
- com.atlassian.bamboo.deployments.environments.DecoratedEnvironmentImpl
-
- All Implemented Interfaces:
BambooIdProvider
,EnvironmentStub
,DecoratedEnvironment
,Environment
,InternalEnvironment
,TaskContainer
,Triggerable
,DescriptionProvider
,NameProvider
,Comparable<DecoratedEnvironment>
@Immutable public class DecoratedEnvironmentImpl extends EnvironmentImpl implements DecoratedEnvironment, Comparable<DecoratedEnvironment>
-
-
Constructor Summary
Constructors Constructor Description DecoratedEnvironmentImpl(DeploymentProject deploymentProject, Environment environment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(@NotNull DecoratedEnvironment o)
DeploymentProject
getDeploymentProject()
String
getDeploymentProjectDisplayName()
String
getEnvironmentDisplayName()
-
Methods inherited from class com.atlassian.bamboo.deployments.environments.EnvironmentImpl
environmentWithBasicData, getConfigurationState, getDeploymentProjectId, getDescription, getId, getKey, getName, getOperations, getPosition, getReleaseApprovalPrerequisite, getRequirementSet, getRequirementSetSupplier, getTaskDefinitions, getTaskDefinitionsSupplier, getTriggerDefinitions, getTriggerDefinitionsSupplier, isSuspended
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.deployments.environments.Environment
getOperations, getTaskDefinitions
-
Methods inherited from interface com.atlassian.bamboo.deployments.environments.InternalEnvironment
getConfigurationState, getDeploymentProjectId, getDescription, getId, getKey, getName, getPosition, getReleaseApprovalPrerequisite, getRequirementSet, getRequirementSetSupplier, getTaskDefinitionsSupplier, getTriggerDefinitionsSupplier
-
Methods inherited from interface com.atlassian.bamboo.trigger.Triggerable
getTriggerDefinitions, isSuspended
-
-
-
-
Constructor Detail
-
DecoratedEnvironmentImpl
public DecoratedEnvironmentImpl(DeploymentProject deploymentProject, Environment environment)
-
-
Method Detail
-
getDeploymentProject
public DeploymentProject getDeploymentProject()
- Specified by:
getDeploymentProject
in interfaceDecoratedEnvironment
- Returns:
- Deployment project associated with environment
-
getDeploymentProjectDisplayName
public String getDeploymentProjectDisplayName()
- Specified by:
getDeploymentProjectDisplayName
in interfaceDecoratedEnvironment
-
getEnvironmentDisplayName
public String getEnvironmentDisplayName()
- Specified by:
getEnvironmentDisplayName
in interfaceDecoratedEnvironment
-
compareTo
public int compareTo(@NotNull @NotNull DecoratedEnvironment o)
- Specified by:
compareTo
in interfaceComparable<DecoratedEnvironment>
-
-