public interface JobCreationService extends PlanCreationService
PlanCreationService.EnablePlan
Modifier and Type | Field and Description |
---|---|
static String |
BUILD_DESCRIPTION
Deprecated.
since 5.7 (Use JobCreationConstants instead).
|
static String |
BUILD_KEY
Deprecated.
since 5.7 (Use JobCreationConstants instead).
|
static String |
BUILD_NAME
Deprecated.
since 5.7 (Use JobCreationConstants instead).
|
static String |
CHAIN
Deprecated.
since 5.7 (Use JobCreationConstants instead).
|
static String |
CLONE_JOB
Deprecated.
since 5.7 (Use JobCreationConstants instead).
|
static String |
EXISTING_STAGE
Deprecated.
since 5.7 (Use JobCreationConstants instead).
|
static String |
JOB_KEY_TO_CLONE
Deprecated.
since 5.7 (Use JobCreationConstants instead).
|
static String |
MASTER_JOB
Deprecated.
since 5.7 (Use JobCreationConstants instead).
|
static String |
NEW_STAGE_MARKER
Deprecated.
since 5.7 (Use JobCreationConstants instead).
|
static String |
STAGE_DESCRIPTION
Deprecated.
since 5.7 (Use JobCreationConstants instead).
|
static String |
STAGE_MANUAL
Deprecated.
since 5.7 (Use JobCreationConstants instead).
|
static String |
STAGE_NAME
Deprecated.
since 5.7 (Use JobCreationConstants instead).
|
static String |
SUB_BUILD_KEY
Deprecated.
since 5.7 (Use JobCreationConstants instead).
|
EXISTING_PROJECT_KEY, NEW_PROJECT_MARKER, PROJECT_KEY, PROJECT_NAME
Modifier and Type | Method and Description |
---|---|
List<PlanKey> |
createJobAndBranches(BuildConfiguration buildConfiguration,
ActionParametersMap actionParametersMap,
PlanCreationService.EnablePlan ifPlanEnabled) |
String |
createPlan(BuildConfiguration buildConfiguration,
ActionParametersMap actionParametersMap,
PlanCreationService.EnablePlan enabled)
Deprecated.
since 4.0 use @{link #createJobAndBranches}
|
String |
createSingleJob(BuildConfiguration buildConfiguration,
ActionParametersMap clonedActionParametersMap,
PlanCreationService.EnablePlan planEnabled) |
Job |
getNewInstance() |
getBuildConfigurationWithDefaults, savePlan, triggerCreationCompleteEvents, validatePlan, validatePlan
@Deprecated static final String CHAIN
@Deprecated static final String MASTER_JOB
@Deprecated static final String NEW_STAGE_MARKER
@Deprecated static final String STAGE_NAME
@Deprecated static final String STAGE_DESCRIPTION
@Deprecated static final String STAGE_MANUAL
@Deprecated static final String EXISTING_STAGE
@Deprecated static final String BUILD_KEY
@Deprecated static final String SUB_BUILD_KEY
@Deprecated static final String BUILD_NAME
@Deprecated static final String BUILD_DESCRIPTION
@Deprecated static final String CLONE_JOB
@Deprecated static final String JOB_KEY_TO_CLONE
Job getNewInstance()
getNewInstance
in interface PlanCreationService
String createSingleJob(BuildConfiguration buildConfiguration, ActionParametersMap clonedActionParametersMap, PlanCreationService.EnablePlan planEnabled) throws PlanCreationDeniedException, PlanCreationException
@Deprecated String createPlan(@NotNull BuildConfiguration buildConfiguration, @NotNull ActionParametersMap actionParametersMap, @NotNull PlanCreationService.EnablePlan enabled) throws PlanCreationDeniedException, PlanCreationException
createPlan
in interface PlanCreationService
buildConfiguration
- of the plan to createactionParametersMap
- containing any other required params NOT in the buildConfigurationenabled
- whether the plan should start enabled or disabledPlanCreationDeniedException
- if plan creation fails because you already have too many plans.PlanCreationException
- if plan creation fails for any other reasonList<PlanKey> createJobAndBranches(@NotNull BuildConfiguration buildConfiguration, @NotNull ActionParametersMap actionParametersMap, @NotNull PlanCreationService.EnablePlan ifPlanEnabled) throws PlanCreationDeniedException, PlanCreationException
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.