public class TriggerValidationContextImpl extends Object implements TriggerValidationContext
Constructor and Description |
---|
TriggerValidationContextImpl(com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties,
com.atlassian.bamboo.specs.api.model.deployment.EnvironmentProperties environmentProperties)
Deprecated.
since 6.3
|
TriggerValidationContextImpl(com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties,
com.atlassian.bamboo.specs.api.model.deployment.EnvironmentProperties environmentProperties,
RssPermissions rssPermissions) |
TriggerValidationContextImpl(com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties)
Deprecated.
since 6.3
|
TriggerValidationContextImpl(com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties,
RssPermissions rssPermissions) |
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 trigger, if the trigger is part of a deployment environment.
|
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.
|
Optional<com.atlassian.bamboo.specs.api.model.plan.PlanProperties> |
getOwnerPlan()
Returns plans that contains the trigger, if the trigger is part of a job.
|
RssPermissions |
getRssPermissions()
Returns object that allows to test if entities referenced by trigger are accessible.
|
@Deprecated public TriggerValidationContextImpl(@Nullable com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties)
public TriggerValidationContextImpl(@Nullable com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties, @NotNull RssPermissions rssPermissions)
@Deprecated public TriggerValidationContextImpl(com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties, com.atlassian.bamboo.specs.api.model.deployment.EnvironmentProperties environmentProperties)
public TriggerValidationContextImpl(com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties, com.atlassian.bamboo.specs.api.model.deployment.EnvironmentProperties environmentProperties, @NotNull RssPermissions rssPermissions)
public Optional<com.atlassian.bamboo.specs.api.model.plan.PlanProperties> getOwnerPlan()
TriggerValidationContext
getOwnerPlan
in interface TriggerValidationContext
public Optional<com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties> getOwnerDeployment()
TriggerValidationContext
getOwnerDeployment
in interface TriggerValidationContext
public Optional<com.atlassian.bamboo.specs.api.model.deployment.EnvironmentProperties> getOwnerEnvironment()
TriggerValidationContext
getOwnerEnvironment
in interface TriggerValidationContext
@NotNull public RssPermissions getRssPermissions()
TriggerValidationContext
getRssPermissions
in interface TriggerValidationContext
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.