Interface DependencyFactory
-
public interface DependencyFactory
Factory to create dependency objects- Author:
- kir
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Dependency
createDependency(java.lang.String buildTypeExternalId)
Creates a new dependency, which depends on given build configuration.Dependency
createDependency(java.lang.String buildTypeExternalId, DependencyOptions options)
Creates a new dependency with specified build configuration external id and options.Dependency
createDependency(BuildType buildType)
Creates a new dependency, which depends on given build configuration.Dependency
createDependencyByInternalId(java.lang.String buildTypeInternalId)
Deprecated.usecreateDependency(BuildType)
orcreateDependency(String)
instead.
-
-
-
Method Detail
-
createDependency
@NotNull Dependency createDependency(@NotNull BuildType buildType)
Creates a new dependency, which depends on given build configuration.- Parameters:
buildType
- 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(BuildType)
-
createDependency
@NotNull Dependency createDependency(@NotNull java.lang.String buildTypeExternalId, @NotNull DependencyOptions options)
Creates a new dependency with specified build configuration external id and options.- Parameters:
buildTypeExternalId
- the external id of the build type to depend on.options
- dependency options- Returns:
- new dependency
- Since:
- 10.0
-
createDependencyByInternalId
@Deprecated @NotNull Dependency createDependencyByInternalId(java.lang.String buildTypeInternalId)
Deprecated.usecreateDependency(BuildType)
orcreateDependency(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(BuildType)
-
-