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() |
@Nullable String |
getDescription() |
@NotNull long |
getId() |
@NotNull DeploymentKey |
getKey()
Key representing this environment.
|
@NotNull 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. |
@NotNull List<TaskDefinition> |
getTaskDefinitions() |
@NotNull List<TriggerDefinition> |
getTriggerDefinitions() |
boolean |
isSuspended() |
public EnvironmentStubImpl(EnvironmentStub environment, Operations operations)
@NotNull public @NotNull long getId()
getId in interface BambooIdProvidergetId in interface EnvironmentStubgetId in interface InternalEnvironment@NotNull public @NotNull DeploymentKey getKey()
InternalEnvironmentInternalEnvironment.getId() instead.getKey in interface InternalEnvironment@NotNull public @NotNull List<TaskDefinition> getTaskDefinitions()
getTaskDefinitions in interface TaskContainerpublic boolean isSuspended()
isSuspended in interface Triggerable@NotNull public @NotNull List<TriggerDefinition> getTriggerDefinitions()
getTriggerDefinitions in interface Triggerable@NotNull public @NotNull String getName()
getName in interface EnvironmentStubgetName in interface InternalEnvironmentgetName in interface DescriptionProvidergetName in interface NameProvider@Nullable public @Nullable String getDescription()
getDescription in interface EnvironmentStubgetDescription in interface InternalEnvironmentgetDescription in interface DescriptionProviderpublic ConfigurationState getConfigurationState()
getConfigurationState in interface EnvironmentStubgetConfigurationState in interface InternalEnvironmentpublic int getPosition()
getPosition in interface EnvironmentStubgetPosition in interface InternalEnvironmentpublic ImmutableRequirementSet getRequirementSet()
InternalEnvironmentImmutableRequirementSet, that is value that is considered when checking which agents and elastic images
can deploy to this environment.getRequirementSet in interface InternalEnvironmentpublic long getDeploymentProjectId()
getDeploymentProjectId in interface EnvironmentStubgetDeploymentProjectId in interface InternalEnvironmentDeploymentProject which is owner of this environmentpublic Operations getOperations()
getOperations in interface EnvironmentStubCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.