com.atlassian.bamboo.build.creation
Interface JobCreationService
- All Superinterfaces:
- PlanCreationService
- All Known Implementing Classes:
- JobCreationServiceImpl
public interface JobCreationService
- extends PlanCreationService
CHAIN
static final java.lang.String CHAIN
- See Also:
- Constant Field Values
MASTER_JOB
static final java.lang.String MASTER_JOB
- See Also:
- Constant Field Values
NEW_STAGE_MARKER
static final java.lang.String NEW_STAGE_MARKER
- See Also:
- Constant Field Values
STAGE_NAME
static final java.lang.String STAGE_NAME
- See Also:
- Constant Field Values
STAGE_DESCRIPTION
static final java.lang.String STAGE_DESCRIPTION
- See Also:
- Constant Field Values
STAGE_MANUAL
static final java.lang.String STAGE_MANUAL
- See Also:
- Constant Field Values
EXISTING_STAGE
static final java.lang.String EXISTING_STAGE
- See Also:
- Constant Field Values
BUILD_KEY
static final java.lang.String BUILD_KEY
- See Also:
- Constant Field Values
MASTER_JOB_KEY
@Deprecated
static final java.lang.String MASTER_JOB_KEY
- Deprecated.
- See Also:
- Constant Field Values
SUB_BUILD_KEY
static final java.lang.String SUB_BUILD_KEY
- See Also:
- Constant Field Values
BUILD_NAME
static final java.lang.String BUILD_NAME
- See Also:
- Constant Field Values
BUILD_DESCRIPTION
static final java.lang.String BUILD_DESCRIPTION
- See Also:
- Constant Field Values
CLONE_JOB
static final java.lang.String CLONE_JOB
- See Also:
- Constant Field Values
JOB_KEY_TO_CLONE
static final java.lang.String JOB_KEY_TO_CLONE
- See Also:
- Constant Field Values
getNewInstance
Job getNewInstance()
- Specified by:
getNewInstance
in interface PlanCreationService
- Returns:
- A new plan instance, concrete type determined by implementation classes
createSingleJob
java.lang.String createSingleJob(BuildConfiguration buildConfiguration,
ActionParametersMap clonedActionParametersMap,
PlanCreationService.EnablePlan planEnabled)
throws PlanCreationDeniedException,
PlanCreationException
- Throws:
PlanCreationDeniedException
PlanCreationException
createPlan
@Deprecated
java.lang.String createPlan(@NotNull
BuildConfiguration buildConfiguration,
@NotNull
ActionParametersMap actionParametersMap,
@NotNull
PlanCreationService.EnablePlan enabled)
throws PlanCreationDeniedException,
PlanCreationException
- Deprecated. since 4.0 use @{link #createJobAndBranches}
- This method will also create the job branches
- Specified by:
createPlan
in interface PlanCreationService
- Parameters:
buildConfiguration
- of the plan to createactionParametersMap
- containing any other required params NOT in the buildConfigurationenabled
- whether the plan should start enabled or disabled
- Returns:
- the full key of the created plan
- Throws:
PlanCreationDeniedException
- if plan creation fails because you already have too many plans.
PlanCreationException
- if plan creation fails for any other reason
createJobAndBranches
java.util.List<PlanKey> createJobAndBranches(@NotNull
BuildConfiguration buildConfiguration,
@NotNull
ActionParametersMap actionParametersMap,
@NotNull
PlanCreationService.EnablePlan ifPlanEnabled)
throws PlanCreationDeniedException,
PlanCreationException
- Throws:
PlanCreationDeniedException
PlanCreationException
Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.