jetbrains.buildServer.serverSide.dependency
Interface DependencyFactory


public interface DependencyFactory

Factory to create dependency objects

Author:
kir

Method Summary
 Dependency createDependency(BuildType buildType)
          Creates a new dependency, which depends on given build configuration.
 Dependency createDependency(java.lang.String buildTypeExternalId)
          Creates a new dependency, which depends on given build configuration.
 Dependency createDependencyByInternalId(java.lang.String buildTypeInternalId)
          Deprecated. use #createDependency(jetbrains.buildServer.serverSide.SBuildType) or createDependency(String) instead.
 

Method Detail

createDependency

@NotNull
Dependency createDependency(@NotNull
                                    BuildType buildType)
Creates a new dependency, which depends on given build configuration.

Parameters:
buildTypeId - the build type to depend on.
Returns:
created dependency.
Since:
8.0
See Also:
createDependency(String)

createDependency

@NotNull
Dependency createDependency(@NotNull
                                    java.lang.String buildTypeExternalId)
Creates a new dependency, which depends on given build configuration.

Parameters:
buildTypeExternalId - the external id of the build type to depend on.
Returns:
created dependency.
Since:
8.0
See Also:
#createDependency(jetbrains.buildServer.serverSide.SBuildType)

createDependencyByInternalId

@NotNull
Dependency createDependencyByInternalId(java.lang.String buildTypeInternalId)
Deprecated. use #createDependency(jetbrains.buildServer.serverSide.SBuildType) or createDependency(String) instead.

Create dependency, which depends on given build configuration

Parameters:
buildTypeInternalId - build configuration internal id to depend on
Returns:
new dependency object
See Also:
createDependency(String), #createDependency(jetbrains.buildServer.serverSide.SBuildType)