jetbrains.buildServer.serverSide.dependency
Interface DependencySettings

All Known Subinterfaces:
BuildTypeSettings, BuildTypeTemplate, Dependent, RemoteBuildType, SBuildType

public interface DependencySettings

Describes dependency settings

Since:
5.0

Method Summary
 void addDependency(Dependency dependOn)
          Add dependency on another build configuration
 java.util.List<Dependency> getDependencies()
          Get existing dependencies, empty collection when no dependencies exist
 boolean 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
Add dependency on another build configuration

Parameters:
dependOn - new dependency
Throws:
CyclicDependencyFoundException - if cycle is detected

removeDependency

boolean removeDependency(@NotNull
                         Dependency dependOn)
Remove dependency on another build configuration

Parameters:
dependOn - dependency to remove
Returns:
true if dependency was actually removed