Interface TriggerValidationContext

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Optional<com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties> getOwnerDeployment()
      Returns deployment project that contains environment which contains the trigger, if the trigger is part of a deployment environment.
      Optional<com.atlassian.bamboo.specs.api.model.deployment.EnvironmentProperties> getOwnerEnvironment()
      Returns deployment environment which contains the trigger, if the trigger is part of a deployment environment.
      Optional<com.atlassian.bamboo.specs.api.model.plan.PlanProperties> getOwnerPlan()
      Returns plans that contains the trigger, if the trigger is part of a job.
      @NotNull RssPermissions getRssPermissions()
      Returns object that allows to test if entities referenced by trigger are accessible.
    • Method Detail

      • getOwnerPlan

        Optional<com.atlassian.bamboo.specs.api.model.plan.PlanProperties> getOwnerPlan()
        Returns plans that contains the trigger, if the trigger is part of a job.
      • getOwnerDeployment

        Optional<com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties> getOwnerDeployment()
        Returns deployment project that contains environment which contains the trigger, if the trigger is part of a deployment environment.
      • getOwnerEnvironment

        Optional<com.atlassian.bamboo.specs.api.model.deployment.EnvironmentProperties> getOwnerEnvironment()
        Returns deployment environment which contains the trigger, if the trigger is part of a deployment environment.
      • getRssPermissions

        @NotNull
        @NotNull RssPermissions getRssPermissions()
        Returns object that allows to test if entities referenced by trigger are accessible.