Interface DependencySettings
-
- All Known Subinterfaces:
BuildTypeEx
,BuildTypeSettings
,BuildTypeSettingsEx
,BuildTypeTemplate
,BuildTypeTemplateEx
,Dependent
,RemoteBuildType
,RemoteBuildTypeEx
,SBuildType
- All Known Implementing Classes:
BuildTypeImpl
,BuildTypeSettingsImpl
,BuildTypeTemplateImpl
,DummyBuildType
,EditableBuildTypeCopy
,EditableTemplateCopy
,InaccessibleTemplate
,MockBuildType
,RemoteBuildTypeImpl
,SecuredBuildType
,SecuredBuildTypeTemplate
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 configurationList<Dependency>
getDependencies()
Get existing dependencies, empty collection when no dependencies existboolean
removeDependency(Dependency dependOn)
Remove dependency on another build configuration
-
-
-
Method Detail
-
getDependencies
@NotNull 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
-
-