TriggerConfigurationService@Deprecated @Internal public interface BuildStrategyConfigurationService
| Modifier and Type | Field and Description |
|---|---|
static long |
NEW_REPOSITORY_INDICATOR
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
BuildStrategy |
createBuildStrategy(PlanKey planKey,
String userDescription,
Set<Long> triggeringRepositories,
org.apache.commons.configuration.HierarchicalConfiguration configuration)
Deprecated.
Creates a
BuildStrategy and saves it in Chain configuration. |
void |
deleteBuildStrategy(PlanKey planKey,
long buildStrategyId)
Deprecated.
Delete a given
BuildStrategy from Chain configuration. |
static final long NEW_REPOSITORY_INDICATOR
BuildStrategy createBuildStrategy(@NotNull PlanKey planKey, @NotNull String userDescription, @NotNull Set<Long> triggeringRepositories, @NotNull org.apache.commons.configuration.HierarchicalConfiguration configuration) throws IllegalArgumentException
BuildStrategy and saves it in Chain configuration.planKey - of the plan to add the build strategy to, plan should be ChainIllegalArgumentException - if planKey is invalid (e.g. doesn't exist or is not a Chain)void deleteBuildStrategy(@NotNull
PlanKey planKey,
long buildStrategyId)
throws IllegalArgumentException,
IllegalStateException
BuildStrategy from Chain configuration.planKey - for the plan to delete the Build Strategy from.buildStrategyId - of the Build Strategy to delete.IllegalArgumentException - if planKey is invalid (e.g. doesn't exist or is not a Chain),IllegalStateException - if the build strategy list has changed since submitting request, i.e the build strategy isn't there to delete anymore.Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.