Class Dependencies
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<DependenciesProperties>
-
- com.atlassian.bamboo.specs.api.builders.plan.dependencies.Dependencies
-
- Direct Known Subclasses:
EmptyDependenciesList
public class Dependencies extends EntityPropertiesBuilder<DependenciesProperties>
Represents plan's dependencies and their configuration.
-
-
Constructor Summary
Constructors Constructor Description Dependencies()
Specifies dependencies with default configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DependenciesProperties
build()
@NotNull Dependencies
childPlans(@NotNull PlanIdentifier... childPlans)
Adds child plans.@NotNull Dependencies
configuration(@NotNull DependenciesConfiguration dependenciesConfiguration)
Sets dependencies configuration.
-
-
-
Method Detail
-
configuration
@NotNull public @NotNull Dependencies configuration(@NotNull @NotNull DependenciesConfiguration dependenciesConfiguration) throws PropertiesValidationException
Sets dependencies configuration.- Throws:
PropertiesValidationException
- See Also:
DependenciesConfiguration
-
childPlans
@NotNull public @NotNull Dependencies childPlans(@NotNull @NotNull PlanIdentifier... childPlans)
Adds child plans. When the current plan builds successfully, it will trigger the child plans to build.
-
build
protected DependenciesProperties build()
- Specified by:
build
in classEntityPropertiesBuilder<DependenciesProperties>
-
-