Class RemoteTriggerConfigurator
java.lang.Object
com.atlassian.bamboo.trigger.remote.RemoteTriggerConfigurator
- All Implemented Interfaces:
TriggerConfigurator
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.trigger.TriggerConfigurator
TriggerConfigurator.RepositorySelectionMode
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerateTriggerConfigMap
(@NotNull ActionParametersMap actionParametersMap, @Nullable TriggerDefinition previousTriggerDefinition) getAllowedIpAddressFromConfiguration
(@NotNull TriggerDefinition triggerDefinition) ReturnTriggerConfigurator.RepositorySelectionMode
that is correct for the trigger.static boolean
isActiveRemoteTrigger
(@NotNull TriggerDefinition triggerDefinition) 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
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
-
Field Details
-
PLUGIN_KEY
- See Also:
-
TRIGGER_IP_ADDRESS
- See Also:
-
-
Constructor Details
-
RemoteTriggerConfigurator
public RemoteTriggerConfigurator()
-
-
Method Details
-
isActiveRemoteTrigger
-
getAllowedIpAddressFromConfiguration
public static Set<String> getAllowedIpAddressFromConfiguration(@NotNull @NotNull TriggerDefinition triggerDefinition) -
populateContextForCreate
- 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
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:
-