Interface InternalEnvironment

    • Method Detail

      • getId

        long getId()
        Specified by:
        getId in interface BambooIdProvider
        Returns:
        unique identifier (in this case from database)
      • getKey

        @NotNull
        @NotNull DeploymentKey getKey()
        Key representing this environment. Keys have much less significance in deployments than in plans. Please consider using getId() instead.
        Returns:
        key of this environment.
      • getDeploymentProjectId

        long getDeploymentProjectId()
        Returns:
        id of the DeploymentProject which is owner of this environment
      • getConfigurationState

        ConfigurationState getConfigurationState()
        Returns:
        Enum representing how completed the configuration of this environments is.
      • getPosition

        int getPosition()
        Returns:
        position of this environment in deployment project's environment list.
      • getRequirementSet

        @NotNull
        @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.
      • getTaskDefinitionsSupplier

        @NotNull
        @NotNull Supplier<List<TaskDefinition>> getTaskDefinitionsSupplier()
        Return (possibly lazy) supplier of tasks.
        Since:
        9.1
      • getTriggerDefinitionsSupplier

        @NotNull
        @NotNull Supplier<List<TriggerDefinition>> getTriggerDefinitionsSupplier()
        Return (possibly lazy) supplier of triggers.
        Since:
        9.1
      • getRequirementSetSupplier

        @NotNull
        @NotNull Supplier<ImmutableRequirementSet> getRequirementSetSupplier()
        Return (possibly lazy) supplier of the requirement set.
        Since:
        9.4