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,
@NotNull RssPermissions rssPermissions) |
TriggerValidationContextImpl(@Nullable com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties)
Deprecated.
since 6.3
|
TriggerValidationContextImpl(@Nullable com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties,
@NotNull 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.
|
@NotNull RssPermissions |
getRssPermissions()
Returns object that allows to test if entities referenced by trigger are accessible.
|
@Deprecated public TriggerValidationContextImpl(@Nullable @Nullable com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties)
public TriggerValidationContextImpl(@Nullable @Nullable com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties, @NotNull @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 @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 @NotNull RssPermissions getRssPermissions()
TriggerValidationContext
getRssPermissions
in interface TriggerValidationContext
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.