Class CanTriggerPlans
java.lang.Object
com.atlassian.bamboo.trigger.applicability.CanTriggerPlans
- All Implemented Interfaces:
TriggerApplicabilityCondition
- Direct Known Subclasses:
CanTriggerPlansWithBitbucketCloudRepository
,CanTriggerPlansWithGithubRepository
,CanTriggerPlansWithRepositories
,CanTriggerPlansWithStashRepository
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.trigger.applicability.TriggerApplicabilityCondition
TriggerApplicabilityCondition.CanTriggerPredicate, TriggerApplicabilityCondition.CanTriggerTypePredicate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canTrigger
(@NotNull Triggerable triggerable) Detailed check of trigger applicability.boolean
canTriggerType
(@NotNull Class<? extends Triggerable> triggerableType) General check of trigger applicability.
-
Constructor Details
-
CanTriggerPlans
public CanTriggerPlans()
-
-
Method Details
-
canTriggerType
Description copied from interface:TriggerApplicabilityCondition
General check of trigger applicability.- Specified by:
canTriggerType
in interfaceTriggerApplicabilityCondition
- Returns:
- true iff the trigger can trigger some instances of given triggerable type.
-
canTrigger
Description copied from interface:TriggerApplicabilityCondition
Detailed check of trigger applicability. This can check attributes of the triggerable, not just its type, thus being more exact.- Specified by:
canTrigger
in interfaceTriggerApplicabilityCondition
- Returns:
-