Interface TriggerValidationContext

All Known Implementing Classes:
TriggerValidationContextImpl

public interface TriggerValidationContext
Provides context for validation of a trigger data in TriggerDefinitionExporter.validate(TriggerValidationContext, TriggerProperties)
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties>
    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>
    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>
    Returns plans that contains the trigger, if the trigger is part of a job.
    Returns object that allows to test if entities referenced by trigger are accessible.
  • Method Details

    • 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.