Class RemoteTriggerConfigurator
- java.lang.Object
-
- com.atlassian.bamboo.trigger.remote.RemoteTriggerConfigurator
-
- All Implemented Interfaces:
TriggerConfigurator
public class RemoteTriggerConfigurator extends Object implements TriggerConfigurator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.bamboo.trigger.TriggerConfigurator
TriggerConfigurator.RepositorySelectionMode
-
-
Field Summary
Fields Modifier and Type Field Description static String
PLUGIN_KEY
static String
TRIGGER_IP_ADDRESS
-
Constructor Summary
Constructors Constructor Description RemoteTriggerConfigurator()
-
Method Summary
-
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
-
-
-
-
Field Detail
-
PLUGIN_KEY
public static final String PLUGIN_KEY
- See Also:
- Constant Field Values
-
TRIGGER_IP_ADDRESS
public static final String TRIGGER_IP_ADDRESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
isActiveRemoteTrigger
public static boolean isActiveRemoteTrigger(@NotNull @NotNull TriggerDefinition triggerDefinition)
-
getAllowedIpAddressFromConfiguration
public static Set<String> getAllowedIpAddressFromConfiguration(@NotNull @NotNull TriggerDefinition triggerDefinition)
-
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:
-
-