public class EnvironmentStubImpl extends Object implements EnvironmentStub
Constructor and Description |
---|
EnvironmentStubImpl(EnvironmentStub environment,
Operations operations) |
Modifier and Type | Method and Description |
---|---|
ConfigurationState |
getConfigurationState() |
long |
getDeploymentProjectId() |
String |
getDescription() |
long |
getId() |
DeploymentKey |
getKey()
Key representing this environment.
|
String |
getName() |
Operations |
getOperations() |
int |
getPosition() |
ImmutableRequirementSet |
getRequirementSet()
Return effective value of
ImmutableRequirementSet , 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 EnvironmentStubImpl(EnvironmentStub environment, Operations operations)
@NotNull public long getId()
getId
in interface BambooIdProvider
getId
in interface EnvironmentStub
getId
in interface InternalEnvironment
@NotNull public DeploymentKey getKey()
InternalEnvironment
InternalEnvironment.getId()
instead.getKey
in interface InternalEnvironment
@NotNull public List<TaskDefinition> getTaskDefinitions()
getTaskDefinitions
in interface TaskContainer
public boolean isSuspended()
isSuspended
in interface Triggerable
@NotNull public List<TriggerDefinition> getTriggerDefinitions()
getTriggerDefinitions
in interface Triggerable
@NotNull public String getName()
getName
in interface EnvironmentStub
getName
in interface InternalEnvironment
getName
in interface DescriptionProvider
getName
in interface NameProvider
@Nullable public String getDescription()
getDescription
in interface EnvironmentStub
getDescription
in interface InternalEnvironment
getDescription
in interface DescriptionProvider
public ConfigurationState getConfigurationState()
getConfigurationState
in interface EnvironmentStub
getConfigurationState
in interface InternalEnvironment
public int getPosition()
getPosition
in interface EnvironmentStub
getPosition
in interface InternalEnvironment
public ImmutableRequirementSet getRequirementSet()
InternalEnvironment
ImmutableRequirementSet
, that is value that is considered when checking which agents and elastic images
can deploy to this environment.getRequirementSet
in interface InternalEnvironment
public long getDeploymentProjectId()
getDeploymentProjectId
in interface EnvironmentStub
getDeploymentProjectId
in interface InternalEnvironment
DeploymentProject
which is owner of this environmentpublic Operations getOperations()
getOperations
in interface EnvironmentStub
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.