Class DailyTriggerConfigurator
java.lang.Object
com.atlassian.bamboo.trigger.daily.DailyTriggerConfigurator
- 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
(@NotNull ActionParametersMap actionParametersMap, @Nullable TriggerDefinition previousTriggerDefinition) ReturnTriggerConfigurator.RepositorySelectionMode
that is correct for the trigger.void
populateContextForCreate
(@NotNull Map<String, Object> context) void
populateContextForEdit
(@NotNull Map<String, Object> context, @NotNull TriggerDefinition triggerDefinition) void
populateContextForView
(@NotNull Map<String, Object> context, @NotNull TriggerDefinition triggerDefinition) void
setI18nResolver
(com.atlassian.sal.api.message.I18nResolver i18nResolver) Deprecated.since 6.8 use constructor injection or annotation injectionvoid
setSalUserManager
(com.atlassian.sal.api.user.UserManager salUserManager) Deprecated.since 6.8 use constructor injection or annotation injectionvoid
validate
(@NotNull ActionParametersMap actionParametersMap, @NotNull 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
-
DailyTriggerConfigurator
public DailyTriggerConfigurator()
-
-
Method Details
-
populateContextForCreate
- Specified by:
populateContextForCreate
in interfaceTriggerConfigurator
-
populateContextForEdit
public void populateContextForEdit(@NotNull @NotNull Map<String, Object> context, @NotNull @NotNull TriggerDefinition triggerDefinition) - Specified by:
populateContextForEdit
in interfaceTriggerConfigurator
-
populateContextForView
public void populateContextForView(@NotNull @NotNull Map<String, Object> context, @NotNull @NotNull TriggerDefinition triggerDefinition) - Specified by:
populateContextForView
in interfaceTriggerConfigurator
-
validate
public void validate(@NotNull @NotNull ActionParametersMap actionParametersMap, @NotNull @NotNull ErrorCollection errorCollection) - Specified by:
validate
in interfaceTriggerConfigurator
-
generateTriggerConfigMap
@NotNull public @NotNull Map<String,String> generateTriggerConfigMap(@NotNull @NotNull ActionParametersMap actionParametersMap, @Nullable @Nullable 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 -
setSalUserManager
Deprecated.since 6.8 use constructor injection or annotation injection
-