public class EnvironmentImpl extends Object implements Environment
Constructor and Description |
---|
EnvironmentImpl(Environment environment,
Operations operations) |
EnvironmentImpl(MutableEnvironment mutableEnvironment) |
Modifier and Type | Method and Description |
---|---|
static EnvironmentImpl |
environmentWithBasicData(MutableEnvironment env,
Operations operations) |
ConfigurationState |
getConfigurationState() |
long |
getDeploymentProjectId() |
String |
getDescription() |
long |
getId() |
DeploymentKey |
getKey()
Key representing this environment.
|
String |
getName() |
Operations |
getOperations()
Operations object describing detailed permissions for environment |
int |
getPosition() |
ImmutableRequirementSet |
getRequirementSet()
Return effective value of
RequirementSet , that is value that is considered when checking which agents and elastic images
can deploy to this environment. |
List<TaskDefinition> |
getTaskDefinitions() |
List<TriggerDefinition> |
getTriggerDefinitions() |
boolean |
isSuspended() |
public EnvironmentImpl(Environment environment, Operations operations)
public EnvironmentImpl(MutableEnvironment mutableEnvironment)
public static EnvironmentImpl environmentWithBasicData(MutableEnvironment env, Operations operations)
public long getId()
getId
in interface BambooIdProvider
getId
in interface InternalEnvironment
@NotNull public String getName()
getName
in interface InternalEnvironment
getName
in interface DescriptionProvider
getName
in interface NameProvider
public String getDescription()
getDescription
in interface InternalEnvironment
getDescription
in interface DescriptionProvider
@NotNull public DeploymentKey getKey()
InternalEnvironment
InternalEnvironment.getId()
instead.getKey
in interface InternalEnvironment
public ConfigurationState getConfigurationState()
getConfigurationState
in interface InternalEnvironment
public boolean isSuspended()
isSuspended
in interface Triggerable
@NotNull public List<TaskDefinition> getTaskDefinitions()
getTaskDefinitions
in interface Environment
getTaskDefinitions
in interface TaskContainer
@NotNull public List<TriggerDefinition> getTriggerDefinitions()
getTriggerDefinitions
in interface Triggerable
public long getDeploymentProjectId()
getDeploymentProjectId
in interface InternalEnvironment
DeploymentProject
which is owner of this environmentpublic Operations getOperations()
Environment
Operations
object describing detailed permissions for environmentgetOperations
in interface Environment
public int getPosition()
getPosition
in interface InternalEnvironment
@NotNull public ImmutableRequirementSet getRequirementSet()
Environment
RequirementSet
, that is value that is considered when checking which agents and elastic images
can deploy to this environment.getRequirementSet
in interface Environment
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.