public class TaskValidationContextImpl extends Object implements TaskValidationContext
| Constructor and Description |
|---|
TaskValidationContextImpl(com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties,
com.atlassian.bamboo.specs.api.model.deployment.EnvironmentProperties environmentProperties) |
TaskValidationContextImpl(com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties,
com.atlassian.bamboo.specs.api.model.plan.JobProperties jobProperties) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
Optional<com.atlassian.bamboo.specs.api.model.plan.JobProperties> |
getOwnerJob()
Returns job which contains the task, if the task is part of a job.
|
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.
|
public TaskValidationContextImpl(com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties,
com.atlassian.bamboo.specs.api.model.plan.JobProperties jobProperties)
public TaskValidationContextImpl(com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties,
com.atlassian.bamboo.specs.api.model.deployment.EnvironmentProperties environmentProperties)
public Optional<com.atlassian.bamboo.specs.api.model.plan.PlanProperties> getOwnerPlan()
TaskValidationContextgetOwnerPlan in interface TaskValidationContextpublic Optional<com.atlassian.bamboo.specs.api.model.plan.JobProperties> getOwnerJob()
TaskValidationContextgetOwnerJob in interface TaskValidationContextpublic Optional<com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties> getOwnerDeployment()
TaskValidationContextgetOwnerDeployment in interface TaskValidationContextpublic Optional<com.atlassian.bamboo.specs.api.model.deployment.EnvironmentProperties> getOwnerEnvironment()
TaskValidationContextgetOwnerEnvironment in interface TaskValidationContextCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.