jetbrains.buildServer.serverSide.dependency
Interface Dependent

All Superinterfaces:
DependencySettings
All Known Subinterfaces:
RemoteBuildType, SBuildType

public interface Dependent
extends DependencySettings

Describes something which has dependencies to other build configurations. SBuildType extends this interface.

Author:
kir

Method Summary
 java.util.Collection<SBuildType> getChildDependencies()
          Returns all child dependencies collected down the chain.
 java.util.List<SBuildType> getDependencyReferences()
          Returns list of build configurations directly referencing this build configuration.
 int getNumberOfDependencyReferences()
          Returns number of dependency references (the number includes all references even those which are not available because of permissions)
 boolean intersectsWith(Dependent dependent)
          Returns true if this object dependencies intersect (have same nodes) with specified object dependencies.
 
Methods inherited from interface jetbrains.buildServer.serverSide.dependency.DependencySettings
addDependency, getDependencies, removeDependency
 

Method Detail

getDependencyReferences

@NotNull
java.util.List<SBuildType> getDependencyReferences()
Returns list of build configurations directly referencing this build configuration. The returned list is filtered by current user permissions and may contain not all references.

Returns:
see above

getChildDependencies

@NotNull
java.util.Collection<SBuildType> getChildDependencies()
Returns all child dependencies collected down the chain. Note that returned collection will contain accessible by current authority holder objects only.

Returns:
see above
Since:
5.0

getNumberOfDependencyReferences

int getNumberOfDependencyReferences()
Returns number of dependency references (the number includes all references even those which are not available because of permissions)

Returns:
see above

intersectsWith

boolean intersectsWith(@NotNull
                       Dependent dependent)
Returns true if this object dependencies intersect (have same nodes) with specified object dependencies.

Parameters:
dependent - another object
Returns:
see above