public class DailyTriggerConfigurator extends Object implements TriggerConfigurator
TriggerConfigurator.RepositorySelectionMode
Constructor and Description |
---|
DailyTriggerConfigurator() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
generateTriggerConfigMap(ActionParametersMap actionParametersMap,
TriggerDefinition previousTriggerDefinition) |
TriggerConfigurator.RepositorySelectionMode |
getRepositorySelectionMode()
Return
TriggerConfigurator.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 injection
|
void |
setSalUserManager(com.atlassian.sal.api.user.UserManager salUserManager)
Deprecated.
since 6.8 use constructor injection or annotation injection
|
void |
validate(ActionParametersMap actionParametersMap,
ErrorCollection errorCollection) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isRepositorySelectable
public void populateContextForCreate(@NotNull Map<String,Object> context)
populateContextForCreate
in interface TriggerConfigurator
public void populateContextForEdit(@NotNull Map<String,Object> context, @NotNull TriggerDefinition triggerDefinition)
populateContextForEdit
in interface TriggerConfigurator
public void populateContextForView(@NotNull Map<String,Object> context, @NotNull TriggerDefinition triggerDefinition)
populateContextForView
in interface TriggerConfigurator
public void validate(@NotNull ActionParametersMap actionParametersMap, @NotNull ErrorCollection errorCollection)
validate
in interface TriggerConfigurator
@NotNull public Map<String,String> generateTriggerConfigMap(@NotNull ActionParametersMap actionParametersMap, @Nullable TriggerDefinition previousTriggerDefinition)
generateTriggerConfigMap
in interface TriggerConfigurator
@NotNull public TriggerConfigurator.RepositorySelectionMode getRepositorySelectionMode()
TriggerConfigurator
TriggerConfigurator.RepositorySelectionMode
that is correct for the trigger. Depending on result, proper UI will be rendered and
appropriate data will be available when calling to TriggerDefinition.getTriggeringRepositories()
getRepositorySelectionMode
in interface TriggerConfigurator
@Deprecated public void setI18nResolver(com.atlassian.sal.api.message.I18nResolver i18nResolver)
@Deprecated public void setSalUserManager(com.atlassian.sal.api.user.UserManager salUserManager)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.