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
Represents plan's dependencies and their configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DependenciesProperties
build()
@NotNull Dependencies
childPlans
(@NotNull PlanIdentifier... childPlans) Adds child plans.@NotNull Dependencies
configuration
(@NotNull DependenciesConfiguration dependenciesConfiguration) Sets dependencies configuration.
-
Constructor Details
-
Dependencies
public Dependencies()Specifies dependencies with default configuration.
-
-
Method Details
-
configuration
@NotNull public @NotNull Dependencies configuration(@NotNull @NotNull DependenciesConfiguration dependenciesConfiguration) throws PropertiesValidationException Sets dependencies configuration.- Throws:
PropertiesValidationException
- See Also:
-
childPlans
Adds child plans. When the current plan builds successfully, it will trigger the child plans to build. -
build
- Specified by:
build
in classEntityPropertiesBuilder<DependenciesProperties>
-