Package com.atlassian.bamboo.fieldvalue
Interface BuildDefinitionConverter
-
- All Known Implementing Classes:
BuildDefinitionConverterImpl
@Internal public interface BuildDefinitionConverter
-
-
Field Summary
Fields Modifier and Type Field Description static String
BUILD_POLLING
static String
BUILD_TRIGGER_IP
static String
CLEAN_WORKING_DIRECTORY
static String
DEPENDENT_WILL_BE_TRIGGERED_BY
static String
DEPENDENT_WILL_TRIGGER
static String
INHERIT_REPOSITORY
static String
REPOSITORY_DEFINING_WORKING_DIRECTORY
static String
SELECTED_BUILD_STRATEGY
Deprecated.since 4.3: used only for conversionstatic String
SELECTED_BUILDER_KEY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull BuildDefinition
copyConfigurationToDefinition(@NotNull org.apache.commons.configuration.HierarchicalConfiguration fromConfig, @NotNull BuildDefinition buildDefinition)
Copies theHierarchicalConfiguration
items to the passedBuildDefinition
object@NotNull BuildDefinition
fillBuildDefinition(@NotNull BuildDefinition buildDefinition, @NotNull Plan plan, boolean isMerged)
@NotNull BuildDefinition
fillBuildDefinition(@NotNull Pair<EnrichedPlanDto,ImmutablePlan> dtoWithImmutableEntity, @Nullable Pair<EnrichedPlanDto,ImmutablePlan> masterDtoWithImmutableEntity)
org.apache.commons.configuration.XMLConfiguration
fromObject(@NotNull PartialBuildDefinition buildDefinition)
-
-
-
Field Detail
-
INHERIT_REPOSITORY
static final String INHERIT_REPOSITORY
- See Also:
- Constant Field Values
-
SELECTED_BUILD_STRATEGY
@Deprecated static final String SELECTED_BUILD_STRATEGY
Deprecated.since 4.3: used only for conversion- See Also:
- Constant Field Values
-
REPOSITORY_DEFINING_WORKING_DIRECTORY
static final String REPOSITORY_DEFINING_WORKING_DIRECTORY
- See Also:
- Constant Field Values
-
BUILD_POLLING
static final String BUILD_POLLING
- See Also:
- Constant Field Values
-
BUILD_TRIGGER_IP
static final String BUILD_TRIGGER_IP
- See Also:
- Constant Field Values
-
SELECTED_BUILDER_KEY
static final String SELECTED_BUILDER_KEY
- See Also:
- Constant Field Values
-
DEPENDENT_WILL_TRIGGER
static final String DEPENDENT_WILL_TRIGGER
- See Also:
- Constant Field Values
-
DEPENDENT_WILL_BE_TRIGGERED_BY
static final String DEPENDENT_WILL_BE_TRIGGERED_BY
- See Also:
- Constant Field Values
-
CLEAN_WORKING_DIRECTORY
static final String CLEAN_WORKING_DIRECTORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
fillBuildDefinition
@NotNull @NotNull BuildDefinition fillBuildDefinition(@NotNull @NotNull BuildDefinition buildDefinition, @NotNull @NotNull Plan plan, boolean isMerged)
- Since:
- 9.4
-
fillBuildDefinition
@NotNull @NotNull BuildDefinition fillBuildDefinition(@NotNull @NotNull Pair<EnrichedPlanDto,ImmutablePlan> dtoWithImmutableEntity, @Nullable @Nullable Pair<EnrichedPlanDto,ImmutablePlan> masterDtoWithImmutableEntity)
- Since:
- 9.4
-
fromObject
org.apache.commons.configuration.XMLConfiguration fromObject(@NotNull @NotNull PartialBuildDefinition buildDefinition)
-
copyConfigurationToDefinition
@NotNull @NotNull BuildDefinition copyConfigurationToDefinition(@NotNull @NotNull org.apache.commons.configuration.HierarchicalConfiguration fromConfig, @NotNull @NotNull BuildDefinition buildDefinition)
Copies theHierarchicalConfiguration
items to the passedBuildDefinition
object- Parameters:
fromConfig
-buildDefinition
-- Returns:
-
-