Package com.atlassian.bamboo.task.export
Interface TaskValidationContext
-
- All Known Implementing Classes:
TaskValidationContextImpl
public interface TaskValidationContextProvides context for validation of a task data inTaskDefinitionExporter.validate(TaskValidationContext, TaskProperties)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<VcsBranch>getImportedBranch()Optional<com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties>getOwnerDeployment()Optional<com.atlassian.bamboo.specs.api.model.deployment.EnvironmentProperties>getOwnerEnvironment()Optional<com.atlassian.bamboo.specs.api.model.plan.JobProperties>getOwnerJob()Optional<com.atlassian.bamboo.specs.api.model.plan.PlanProperties>getOwnerPlan()Optional<String>getOwnerRepositoryName()@NotNull RssPermissionsgetRssPermissions()
-
-
-
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.
-
getRssPermissions
@NotNull @NotNull RssPermissions getRssPermissions()
- Returns:
- object that allows to test if entities referenced by trigger are accessible.
-
-