Class PollingTriggerConfigurator
- java.lang.Object
-
- com.atlassian.bamboo.trigger.polling.PollingTriggerConfigurator
-
- All Implemented Interfaces:
TriggerConfigurator
public class PollingTriggerConfigurator extends Object implements TriggerConfigurator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PollingTriggerConfigurator.PollingStrategy
-
Nested classes/interfaces inherited from interface com.atlassian.bamboo.trigger.TriggerConfigurator
TriggerConfigurator.RepositorySelectionMode
-
-
Constructor Summary
Constructors Constructor Description PollingTriggerConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Map<String,String>
generateTriggerConfigMap(ActionParametersMap actionParametersMap, TriggerDefinition previousTriggerDefinition)
@NotNull TriggerConfigurator.RepositorySelectionMode
getRepositorySelectionMode()
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
-
-
-
-
Method Detail
-
populateContextForCreate
public void populateContextForCreate(Map<String,Object> context)
- Specified by:
populateContextForCreate
in interfaceTriggerConfigurator
-
populateContextForEdit
public void populateContextForEdit(Map<String,Object> context, TriggerDefinition triggerDefinition)
- Specified by:
populateContextForEdit
in interfaceTriggerConfigurator
-
populateContextForView
public void populateContextForView(Map<String,Object> context, TriggerDefinition triggerDefinition)
- Specified by:
populateContextForView
in interfaceTriggerConfigurator
-
validate
public void validate(ActionParametersMap actionParametersMap, ErrorCollection errorCollection)
- Specified by:
validate
in interfaceTriggerConfigurator
-
generateTriggerConfigMap
public Map<String,String> generateTriggerConfigMap(ActionParametersMap actionParametersMap, TriggerDefinition previousTriggerDefinition)
- Specified by:
generateTriggerConfigMap
in interfaceTriggerConfigurator
-
getRepositorySelectionMode
@NotNull public @NotNull TriggerConfigurator.RepositorySelectionMode 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 public void setI18nResolver(com.atlassian.sal.api.message.I18nResolver i18nResolver)
Deprecated.since 6.8 use constructor injection or annotation injection
-
-