Package com.atlassian.bamboo.task.export
Interface TaskValidationContext
- All Known Implementing Classes:
TaskValidationContextImpl
public interface TaskValidationContext
Provides context for validation of a task data in
TaskDefinitionExporter.validate(TaskValidationContext, TaskProperties)
-
Method Summary
Modifier and TypeMethodDescriptionOptional<com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties>
Optional<com.atlassian.bamboo.specs.api.model.deployment.EnvironmentProperties>
Optional<com.atlassian.bamboo.specs.api.model.plan.JobProperties>
Optional<com.atlassian.bamboo.specs.api.model.plan.PlanProperties>
@NotNull RssPermissions
-
Method Details
-
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
- Returns:
- imported RSS branch
-
getRssPermissions
- Returns:
- object that allows to test if entities referenced by trigger are accessible.
-
getOwnerRepositoryName
- Returns:
- repository name which process task. Set only for YAML Specs task processing.
-