Class CanTriggerAnything
java.lang.Object
com.atlassian.bamboo.trigger.applicability.CanTriggerAnything
- All Implemented Interfaces:
TriggerApplicabilityCondition
-
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
-
CanTriggerAnything
public CanTriggerAnything()
-
-
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:
-