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