public class EnvironmentWithConfigCounts extends Object implements Environment
| Constructor and Description |
|---|
EnvironmentWithConfigCounts(InternalEnvironment environment,
int numberOfCompatibleAgents,
int notificationsNumber,
int variablesNumber) |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationState |
getConfigurationState() |
long |
getDeploymentProjectId() |
String |
getDescription() |
InternalEnvironment |
getEnvironment() |
long |
getId() |
DeploymentKey |
getKey()
Key representing this environment.
|
String |
getName() |
String |
getNotificationsNumberString() |
int |
getNumberOfCompatibleAgents() |
Operations |
getOperations()
Operations object describing detailed permissions for environment |
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() |
String |
getTriggersNumberString() |
String |
getVariablesNumberString() |
boolean |
isSuspended() |
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 List<TaskDefinition> getTaskDefinitions()
getTaskDefinitions in interface EnvironmentgetTaskDefinitions in interface TaskContainerpublic Operations getOperations()
EnvironmentOperations object describing detailed permissions for environmentgetOperations in interface Environmentpublic long getId()
getId in interface BambooIdProvidergetId in interface InternalEnvironment@NotNull public DeploymentKey getKey()
InternalEnvironmentInternalEnvironment.getId() instead.getKey in interface InternalEnvironment@NotNull public String getName()
getName in interface InternalEnvironmentgetName in interface DescriptionProvidergetName in interface NameProvider@Nullable public String getDescription()
getDescription in interface InternalEnvironmentgetDescription in interface DescriptionProviderpublic long getDeploymentProjectId()
getDeploymentProjectId in interface InternalEnvironmentDeploymentProject which is owner of this environmentpublic ConfigurationState getConfigurationState()
getConfigurationState in interface InternalEnvironmentpublic int getPosition()
getPosition in interface InternalEnvironmentpublic boolean isSuspended()
isSuspended in interface Triggerable@NotNull public List<TriggerDefinition> getTriggerDefinitions()
getTriggerDefinitions in interface Triggerable@NotNull public ImmutableRequirementSet getRequirementSet()
InternalEnvironmentImmutableRequirementSet, that is value that is considered when checking which agents and elastic images
can deploy to this environment.getRequirementSet in interface InternalEnvironmentCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.