@Internal @Deprecated public class BuildStrategyConfigurationUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BUILD_STRATEGIES_DEFINED
Deprecated.
|
static String |
BUILD_STRATEGY_CONFIG_ROOT
Deprecated.
|
static String |
BUILD_STRATEGY_PREFIX
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
addBuildStrategiesToConfig(List<BuildStrategy> buildStrategies,
org.apache.commons.configuration.HierarchicalConfiguration config)
Deprecated.
Adds build triggers to a build configuration
|
static BuildStrategy |
createNewBuildStrategy(BuildStrategyManager buildStrategyManager,
org.apache.commons.configuration.HierarchicalConfiguration configuration,
String userDescription,
long buildStrategyId,
Set<Long> triggeringRepositories)
Deprecated.
Creates a new Build Strategy object from configuration.
|
static Set<Long> |
extractTriggeringRepositoriesFromCfgString(String triggeringRepositoriesString)
Deprecated.
|
static List<BuildStrategy> |
getBuildStrategiesFromConfig(BuildStrategyManager buildStrategyManager,
org.apache.commons.configuration.HierarchicalConfiguration fromConfig)
Deprecated.
Retrieves tasks from build configuration
|
static List<BuildStrategy> |
getBuildStrategiesFromConfigNotNull(BuildStrategyManager buildStrategyManager,
org.apache.commons.configuration.HierarchicalConfiguration fromConfig)
Deprecated.
|
static long |
getNewBuildStrategyId(List<BuildStrategy> buildStrategies)
Deprecated.
|
public static final String BUILD_STRATEGY_CONFIG_ROOT
public static final String BUILD_STRATEGY_PREFIX
public static final String BUILD_STRATEGIES_DEFINED
public static void addBuildStrategiesToConfig(@Nullable List<BuildStrategy> buildStrategies, @NotNull org.apache.commons.configuration.HierarchicalConfiguration config)
buildStrategies
- config
- @Nullable public static List<BuildStrategy> getBuildStrategiesFromConfig(BuildStrategyManager buildStrategyManager, org.apache.commons.configuration.HierarchicalConfiguration fromConfig)
buildStrategyManager
- fromConfig
- @NotNull public static List<BuildStrategy> getBuildStrategiesFromConfigNotNull(BuildStrategyManager buildStrategyManager, org.apache.commons.configuration.HierarchicalConfiguration fromConfig)
@NotNull public static Set<Long> extractTriggeringRepositoriesFromCfgString(@NotNull String triggeringRepositoriesString)
public static BuildStrategy createNewBuildStrategy(BuildStrategyManager buildStrategyManager, org.apache.commons.configuration.HierarchicalConfiguration configuration, String userDescription, long buildStrategyId, Set<Long> triggeringRepositories)
buildStrategyManager
- configuration
- userDescription
- buildStrategyId
- triggeringRepositories
- public static long getNewBuildStrategyId(List<BuildStrategy> buildStrategies)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.