public class RemoteTriggerConfigurator extends Object implements TriggerConfigurator
TriggerConfigurator.RepositorySelectionMode
Modifier and Type | Field and Description |
---|---|
static String |
PLUGIN_KEY |
static String |
TRIGGER_IP_ADDRESS |
Constructor and Description |
---|
RemoteTriggerConfigurator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isRepositorySelectable
public static final String PLUGIN_KEY
public static final String TRIGGER_IP_ADDRESS
public static boolean isActiveRemoteTrigger(@NotNull @NotNull TriggerDefinition triggerDefinition)
public static Set<String> getAllowedIpAddressFromConfiguration(@NotNull @NotNull TriggerDefinition triggerDefinition)
public void populateContextForCreate(@NotNull @NotNull Map<String,Object> context)
populateContextForCreate
in interface TriggerConfigurator
public void populateContextForEdit(@NotNull @NotNull Map<String,Object> context, @NotNull @NotNull TriggerDefinition triggerDefinition)
populateContextForEdit
in interface TriggerConfigurator
public void populateContextForView(@NotNull @NotNull Map<String,Object> context, @NotNull @NotNull TriggerDefinition triggerDefinition)
populateContextForView
in interface TriggerConfigurator
public void validate(@NotNull @NotNull ActionParametersMap actionParametersMap, @NotNull @NotNull ErrorCollection errorCollection)
validate
in interface TriggerConfigurator
@NotNull public @NotNull Map<String,String> generateTriggerConfigMap(@NotNull @NotNull ActionParametersMap actionParametersMap, @Nullable @Nullable TriggerDefinition previousTriggerDefinition)
generateTriggerConfigMap
in interface TriggerConfigurator
@NotNull public @NotNull 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
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.