Interface DependencyFactory


  • public interface DependencyFactory
    Factory to create dependency objects
    Author:
    kir
    • 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