Interface DependencyFactory
-
- All Known Subinterfaces:
DependencyFactoryEx
- All Known Implementing Classes:
DependencyFactoryImpl
public interface DependencyFactoryFactory to create dependency objects- Author:
- kir
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description DependencycreateDependency(String buildTypeExternalId)Creates a new dependency, which depends on given build configuration.DependencycreateDependency(String buildTypeExternalId, DependencyOptions options)Creates a new dependency with specified build configuration external id and options.DependencycreateDependency(BuildType buildType)Creates a new dependency, which depends on given build configuration.DependencycreateDependencyByInternalId(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 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 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(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)
-
-