Class TriggerValidationContextImpl
java.lang.Object
com.atlassian.bamboo.trigger.export.TriggerValidationContextImpl
- All Implemented Interfaces:
TriggerValidationContext
-
Constructor Summary
ConstructorsConstructorDescriptionTriggerValidationContextImpl(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) TriggerValidationContextImpl(@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) -
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 RssPermissionsReturns 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:TriggerValidationContextReturns plans that contains the trigger, if the trigger is part of a job.- Specified by:
getOwnerPlanin interfaceTriggerValidationContext
-
getOwnerDeployment
public Optional<com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties> getOwnerDeployment()Description copied from interface:TriggerValidationContextReturns deployment project that contains environment which contains the trigger, if the trigger is part of a deployment environment.- Specified by:
getOwnerDeploymentin interfaceTriggerValidationContext
-
getOwnerEnvironment
public Optional<com.atlassian.bamboo.specs.api.model.deployment.EnvironmentProperties> getOwnerEnvironment()Description copied from interface:TriggerValidationContextReturns deployment environment which contains the trigger, if the trigger is part of a deployment environment.- Specified by:
getOwnerEnvironmentin interfaceTriggerValidationContext
-
getRssPermissions
Description copied from interface:TriggerValidationContextReturns object that allows to test if entities referenced by trigger are accessible.- Specified by:
getRssPermissionsin interfaceTriggerValidationContext
-