public interface BuildTriggerCondition extends BuildConfigurationAwarePlugin
Modifier and Type | Interface and Description |
---|---|
static class |
BuildTriggerCondition.ExecutionPreference |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getConfigurationMap(org.apache.commons.configuration.HierarchicalConfiguration configuration)
This method should extract entire configuration of this plugin from
HierarchicalConfiguration and
return it as map. |
BuildTriggerCondition.ExecutionPreference |
getExecutionPreference(ImmutablePlan plan,
Map<String,String> configuration)
Use to indicate preference for whether this plugin things the plan should execute.
|
addDefaultValues, isConfigurationMissing, prepareConfigObject, validate
init
getEditHtml, getViewHtml
@NotNull Map<String,String> getConfigurationMap(@NotNull org.apache.commons.configuration.HierarchicalConfiguration configuration)
HierarchicalConfiguration
and
return it as map.configuration
- a configuration@NotNull BuildTriggerCondition.ExecutionPreference getExecutionPreference(ImmutablePlan plan, Map<String,String> configuration)
plan
- the plan that will be executedconfiguration
- of the plugin as returned by getConfigurationMap(HierarchicalConfiguration)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.