Class PollingTriggerConfigurator
java.lang.Object
com.atlassian.bamboo.trigger.polling.PollingTriggerConfigurator
- All Implemented Interfaces:
TriggerConfigurator
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.trigger.TriggerConfigurator
TriggerConfigurator.RepositorySelectionMode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerateTriggerConfigMap
(ActionParametersMap actionParametersMap, TriggerDefinition previousTriggerDefinition) ReturnTriggerConfigurator.RepositorySelectionMode
that is correct for the trigger.void
populateContextForCreate
(Map<String, Object> context) void
populateContextForEdit
(Map<String, Object> context, TriggerDefinition triggerDefinition) void
populateContextForView
(Map<String, Object> context, TriggerDefinition triggerDefinition) void
setI18nResolver
(com.atlassian.sal.api.message.I18nResolver i18nResolver) Deprecated.since 6.8 use constructor injection or annotation injectionvoid
validate
(ActionParametersMap actionParametersMap, ErrorCollection errorCollection) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.trigger.TriggerConfigurator
isRepositorySelectable
-
Constructor Details
-
PollingTriggerConfigurator
public PollingTriggerConfigurator()
-
-
Method Details
-
populateContextForCreate
- Specified by:
populateContextForCreate
in interfaceTriggerConfigurator
-
populateContextForEdit
- Specified by:
populateContextForEdit
in interfaceTriggerConfigurator
-
populateContextForView
- Specified by:
populateContextForView
in interfaceTriggerConfigurator
-
validate
- Specified by:
validate
in interfaceTriggerConfigurator
-
generateTriggerConfigMap
public Map<String,String> generateTriggerConfigMap(ActionParametersMap actionParametersMap, TriggerDefinition previousTriggerDefinition) - Specified by:
generateTriggerConfigMap
in interfaceTriggerConfigurator
-
getRepositorySelectionMode
Description copied from interface:TriggerConfigurator
ReturnTriggerConfigurator.RepositorySelectionMode
that is correct for the trigger. Depending on result, proper UI will be rendered and appropriate data will be available when calling toTriggerDefinition.getTriggeringRepositories()
- Specified by:
getRepositorySelectionMode
in interfaceTriggerConfigurator
- Returns:
-
setI18nResolver
Deprecated.since 6.8 use constructor injection or annotation injection
-