Interface DependencySettings
-
- All Known Subinterfaces:
BuildTypeSettings
,BuildTypeTemplate
,Dependent
,RemoteBuildType
,SBuildType
public interface DependencySettings
Describes dependency settings- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addDependency(Dependency dependOn)
Add dependency on another build configurationjava.util.List<Dependency>
getDependencies()
Get existing dependencies, empty collection when no dependencies existboolean
removeDependency(Dependency dependOn)
Remove dependency on another build configuration
-
-
-
Method Detail
-
getDependencies
@NotNull java.util.List<Dependency> getDependencies()
Get existing dependencies, empty collection when no dependencies exist- Returns:
- see above
-
addDependency
void addDependency(@NotNull Dependency dependOn) throws CyclicDependencyFoundException, ReadOnlyEntityException
Add dependency on another build configuration- Parameters:
dependOn
- new dependency- Throws:
CyclicDependencyFoundException
- if cycle is detectedReadOnlyEntityException
-
removeDependency
boolean removeDependency(@NotNull Dependency dependOn) throws ReadOnlyEntityException
Remove dependency on another build configuration- Parameters:
dependOn
- dependency to remove- Returns:
- true if dependency was actually removed
- Throws:
ReadOnlyEntityException
-
-