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.RepositorySelectionMode
getRepositorySelectionMode()
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
-
-
-
-
Method Detail
-
populateContextForCreate
public void populateContextForCreate(@NotNull @NotNull Map<String,Object> context)
- 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
@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
-
setSalUserManager
@Deprecated public void setSalUserManager(com.atlassian.sal.api.user.UserManager salUserManager)
Deprecated.since 6.8 use constructor injection or annotation injection
-
-