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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateTriggerConfigMap(@NotNull ActionParametersMap actionParametersMap, @Nullable TriggerDefinition previousTriggerDefinition) ReturnTriggerConfigurator.RepositorySelectionModethat is correct for the trigger.voidpopulateContextForCreate(@NotNull Map<String, Object> context) voidpopulateContextForEdit(@NotNull Map<String, Object> context, @NotNull TriggerDefinition triggerDefinition) voidpopulateContextForView(@NotNull Map<String, Object> context, @NotNull TriggerDefinition triggerDefinition) voidsetI18nResolver(com.atlassian.sal.api.message.I18nResolver i18nResolver) Deprecated.since 6.8 use constructor injection or annotation injectionvoidsetSalUserManager(com.atlassian.sal.api.user.UserManager salUserManager) Deprecated.since 6.8 use constructor injection or annotation injectionvoidvalidate(@NotNull ActionParametersMap actionParametersMap, @NotNull ErrorCollection errorCollection) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.trigger.TriggerConfigurator
isRepositorySelectable
-
Constructor Details
-
DailyTriggerConfigurator
public DailyTriggerConfigurator()
-
-
Method Details
-
populateContextForCreate
- Specified by:
populateContextForCreatein interfaceTriggerConfigurator
-
populateContextForEdit
public void populateContextForEdit(@NotNull @NotNull Map<String, Object> context, @NotNull @NotNull TriggerDefinition triggerDefinition) - Specified by:
populateContextForEditin interfaceTriggerConfigurator
-
populateContextForView
public void populateContextForView(@NotNull @NotNull Map<String, Object> context, @NotNull @NotNull TriggerDefinition triggerDefinition) - Specified by:
populateContextForViewin interfaceTriggerConfigurator
-
validate
public void validate(@NotNull @NotNull ActionParametersMap actionParametersMap, @NotNull @NotNull ErrorCollection errorCollection) - Specified by:
validatein interfaceTriggerConfigurator
-
generateTriggerConfigMap
@NotNull public @NotNull Map<String,String> generateTriggerConfigMap(@NotNull @NotNull ActionParametersMap actionParametersMap, @Nullable @Nullable TriggerDefinition previousTriggerDefinition) - Specified by:
generateTriggerConfigMapin interfaceTriggerConfigurator
-
getRepositorySelectionMode
Description copied from interface:TriggerConfiguratorReturnTriggerConfigurator.RepositorySelectionModethat 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:
getRepositorySelectionModein interfaceTriggerConfigurator- Returns:
-
setI18nResolver
Deprecated.since 6.8 use constructor injection or annotation injection -
setSalUserManager
Deprecated.since 6.8 use constructor injection or annotation injection
-