public class EnvironmentWithConfigCounts extends Object implements EnvironmentStub
Constructor and Description |
---|
EnvironmentWithConfigCounts(InternalEnvironment environment,
int numberOfCompatibleAgents,
int notificationsNumber,
int variablesNumber) |
public EnvironmentWithConfigCounts(InternalEnvironment environment, int numberOfCompatibleAgents, int notificationsNumber, int variablesNumber)
public InternalEnvironment getEnvironment()
public int getNumberOfCompatibleAgents()
public String getTriggersNumberString()
public String getNotificationsNumberString()
public String getVariablesNumberString()
@NotNull public @NotNull List<TaskDefinition> getTaskDefinitions()
getTaskDefinitions
in interface TaskContainer
public Operations getOperations()
getOperations
in interface EnvironmentStub
public long getId()
getId
in interface BambooIdProvider
getId
in interface InternalEnvironment
@NotNull public @NotNull DeploymentKey getKey()
InternalEnvironment
InternalEnvironment.getId()
instead.getKey
in interface InternalEnvironment
@NotNull public @NotNull String getName()
getName
in interface InternalEnvironment
getName
in interface DescriptionProvider
getName
in interface NameProvider
@Nullable public @Nullable String getDescription()
getDescription
in interface InternalEnvironment
getDescription
in interface DescriptionProvider
public long getDeploymentProjectId()
getDeploymentProjectId
in interface InternalEnvironment
DeploymentProject
which is owner of this environmentpublic ConfigurationState getConfigurationState()
getConfigurationState
in interface InternalEnvironment
public int getPosition()
getPosition
in interface InternalEnvironment
public boolean isSuspended()
isSuspended
in interface Triggerable
@NotNull public @NotNull List<TriggerDefinition> getTriggerDefinitions()
getTriggerDefinitions
in interface Triggerable
@NotNull public @NotNull 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
@NotNull public @NotNull Supplier<List<TaskDefinition>> getTaskDefinitionsSupplier()
InternalEnvironment
getTaskDefinitionsSupplier
in interface InternalEnvironment
@NotNull public @NotNull Supplier<List<TriggerDefinition>> getTriggerDefinitionsSupplier()
InternalEnvironment
getTriggerDefinitionsSupplier
in interface InternalEnvironment
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences