Class TriggerValidationContextImpl
java.lang.Object
com.atlassian.bamboo.trigger.export.TriggerValidationContextImpl
- All Implemented Interfaces:
TriggerValidationContext
-
Constructor Summary
ConstructorDescriptionTriggerValidationContextImpl
(@Nullable com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties) Deprecated.since 6.3TriggerValidationContextImpl
(@Nullable com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties, @NotNull RssPermissions rssPermissions) TriggerValidationContextImpl
(com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties, com.atlassian.bamboo.specs.api.model.deployment.EnvironmentProperties environmentProperties) Deprecated.since 6.3TriggerValidationContextImpl
(com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties, com.atlassian.bamboo.specs.api.model.deployment.EnvironmentProperties environmentProperties, @NotNull RssPermissions rssPermissions) -
Method Summary
Modifier and TypeMethodDescriptionOptional<com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties>
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>
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>
Returns plans that contains the trigger, if the trigger is part of a job.@NotNull RssPermissions
Returns object that allows to test if entities referenced by trigger are accessible.
-
Constructor Details
-
TriggerValidationContextImpl
@Deprecated public TriggerValidationContextImpl(@Nullable @Nullable com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties) Deprecated.since 6.3 -
TriggerValidationContextImpl
public TriggerValidationContextImpl(@Nullable @Nullable com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties, @NotNull @NotNull RssPermissions rssPermissions) -
TriggerValidationContextImpl
@Deprecated public TriggerValidationContextImpl(com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties, com.atlassian.bamboo.specs.api.model.deployment.EnvironmentProperties environmentProperties) Deprecated.since 6.3 -
TriggerValidationContextImpl
public TriggerValidationContextImpl(com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties, com.atlassian.bamboo.specs.api.model.deployment.EnvironmentProperties environmentProperties, @NotNull @NotNull RssPermissions rssPermissions)
-
-
Method Details
-
getOwnerPlan
Description copied from interface:TriggerValidationContext
Returns plans that contains the trigger, if the trigger is part of a job.- Specified by:
getOwnerPlan
in interfaceTriggerValidationContext
-
getOwnerDeployment
public Optional<com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties> getOwnerDeployment()Description copied from interface:TriggerValidationContext
Returns deployment project that contains environment which contains the trigger, if the trigger is part of a deployment environment.- Specified by:
getOwnerDeployment
in interfaceTriggerValidationContext
-
getOwnerEnvironment
public Optional<com.atlassian.bamboo.specs.api.model.deployment.EnvironmentProperties> getOwnerEnvironment()Description copied from interface:TriggerValidationContext
Returns deployment environment which contains the trigger, if the trigger is part of a deployment environment.- Specified by:
getOwnerEnvironment
in interfaceTriggerValidationContext
-
getRssPermissions
Description copied from interface:TriggerValidationContext
Returns object that allows to test if entities referenced by trigger are accessible.- Specified by:
getRssPermissions
in interfaceTriggerValidationContext
-