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 StringPLUGIN_KEYstatic StringTRIGGER_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:
populateContextForCreatein interfaceTriggerConfigurator
-
populateContextForEdit
public void populateContextForEdit(@NotNull @NotNull Map<String,Object> context, @NotNull @NotNull TriggerDefinition triggerDefinition)- Specified by:
populateContextForEditin interfaceTriggerConfigurator
-
populateContextForView
public void populateContextForView(@NotNull @NotNull Map<String,Object> context, @NotNull @NotNull TriggerDefinition triggerDefinition)- Specified by:
populateContextForViewin interfaceTriggerConfigurator
-
validate
public void validate(@NotNull @NotNull ActionParametersMap actionParametersMap, @NotNull @NotNull ErrorCollection errorCollection)- Specified by:
validatein interfaceTriggerConfigurator
-
generateTriggerConfigMap
@NotNull public @NotNull Map<String,String> generateTriggerConfigMap(@NotNull @NotNull ActionParametersMap actionParametersMap, @Nullable @Nullable TriggerDefinition previousTriggerDefinition)
- Specified by:
generateTriggerConfigMapin interfaceTriggerConfigurator
-
getRepositorySelectionMode
@NotNull public @NotNull TriggerConfigurator.RepositorySelectionMode getRepositorySelectionMode()
Description copied from interface:TriggerConfiguratorReturnTriggerConfigurator.RepositorySelectionModethat 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:
getRepositorySelectionModein interfaceTriggerConfigurator- Returns:
-
-