Interface TaskValidationContext

    • Method Detail

      • getOwnerPlan

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

        Optional<com.atlassian.bamboo.specs.api.model.plan.JobProperties> getOwnerJob()
        Returns:
        job which contains the task, if the task 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 task, if the task is part of a deployment environment.
      • getOwnerEnvironment

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

        Optional<VcsBranch> getImportedBranch()
        Returns:
        imported RSS branch
      • getRssPermissions

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

        Optional<String> getOwnerRepositoryName()
        Returns:
        repository name which process task. Set only for YAML Specs task processing.