Class DailyTriggerConfigurator
- java.lang.Object
-
- com.atlassian.bamboo.trigger.daily.DailyTriggerConfigurator
-
- All Implemented Interfaces:
TriggerConfigurator
public class DailyTriggerConfigurator extends Object implements TriggerConfigurator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.bamboo.trigger.TriggerConfigurator
TriggerConfigurator.RepositorySelectionMode
-
-
Constructor Summary
Constructors Constructor Description DailyTriggerConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @NotNull Map<String,String>generateTriggerConfigMap(@NotNull ActionParametersMap actionParametersMap, @Nullable TriggerDefinition previousTriggerDefinition)@NotNull TriggerConfigurator.RepositorySelectionModegetRepositorySelectionMode()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, wait
-
Methods inherited from interface com.atlassian.bamboo.trigger.TriggerConfigurator
isRepositorySelectable
-
-
-
-
Method Detail
-
populateContextForCreate
public void populateContextForCreate(@NotNull @NotNull Map<String,Object> context)- 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
@NotNull public @NotNull TriggerConfigurator.RepositorySelectionMode 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 public void setI18nResolver(com.atlassian.sal.api.message.I18nResolver i18nResolver)
Deprecated.since 6.8 use constructor injection or annotation injection
-
setSalUserManager
@Deprecated public void setSalUserManager(com.atlassian.sal.api.user.UserManager salUserManager)
Deprecated.since 6.8 use constructor injection or annotation injection
-
-