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() |
@NotNull DeploymentKey |
getKey()
Key representing this environment.
|
@NotNull String |
getName() |
Operations |
getOperations()
Operations object describing detailed permissions for environment |
int |
getPosition() |
@NotNull 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 Supplier<List<TaskDefinition>> |
getTaskDefinitionsSupplier()
Return (possibly lazy) supplier of tasks.
|
@NotNull List<TriggerDefinition> |
getTriggerDefinitions() |
@NotNull Supplier<List<TriggerDefinition>> |
getTriggerDefinitionsSupplier()
Return (possibly lazy) supplier of triggers.
|
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 BambooIdProvidergetId in interface InternalEnvironment@NotNull public @NotNull String getName()
getName in interface InternalEnvironmentgetName in interface DescriptionProvidergetName in interface NameProviderpublic String getDescription()
getDescription in interface InternalEnvironmentgetDescription in interface DescriptionProvider@NotNull public @NotNull DeploymentKey getKey()
InternalEnvironmentInternalEnvironment.getId() instead.getKey in interface InternalEnvironmentpublic ConfigurationState getConfigurationState()
getConfigurationState in interface InternalEnvironmentpublic boolean isSuspended()
isSuspended in interface Triggerable@NotNull public @NotNull List<TaskDefinition> getTaskDefinitions()
getTaskDefinitions in interface EnvironmentgetTaskDefinitions in interface TaskContainer@NotNull public @NotNull List<TriggerDefinition> getTriggerDefinitions()
getTriggerDefinitions in interface Triggerablepublic long getDeploymentProjectId()
getDeploymentProjectId in interface InternalEnvironmentDeploymentProject which is owner of this environmentpublic Operations getOperations()
EnvironmentOperations object describing detailed permissions for environmentgetOperations in interface EnvironmentStubgetOperations in interface Environmentpublic int getPosition()
getPosition in interface InternalEnvironment@NotNull public @NotNull ImmutableRequirementSet getRequirementSet()
InternalEnvironmentImmutableRequirementSet, that is value that is considered when checking which agents and elastic images
can deploy to this environment.getRequirementSet in interface InternalEnvironment@NotNull public @NotNull Supplier<List<TaskDefinition>> getTaskDefinitionsSupplier()
InternalEnvironmentgetTaskDefinitionsSupplier in interface InternalEnvironment@NotNull public @NotNull Supplier<List<TriggerDefinition>> getTriggerDefinitionsSupplier()
InternalEnvironmentgetTriggerDefinitionsSupplier in interface InternalEnvironmentCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.