Class TriggerValidationContextImpl
- java.lang.Object
-
- com.atlassian.bamboo.trigger.export.TriggerValidationContextImpl
-
- All Implemented Interfaces:
TriggerValidationContext
public class TriggerValidationContextImpl extends Object implements TriggerValidationContext
-
-
Constructor Summary
Constructors Constructor Description 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)
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
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
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 Detail
-
getOwnerPlan
public Optional<com.atlassian.bamboo.specs.api.model.plan.PlanProperties> 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
@NotNull public @NotNull RssPermissions getRssPermissions()
Description copied from interface:TriggerValidationContext
Returns object that allows to test if entities referenced by trigger are accessible.- Specified by:
getRssPermissions
in interfaceTriggerValidationContext
-
-