Interface SArtifactDependency

    • Method Detail

      • createCopy

        SArtifactDependency createCopy()
        Creates copy of this artifact dependency.
        Returns:
        copy of this artifact dependency.
      • resolveForBuild

        @Nullable
        SBuild resolveForBuild​(@NotNull
                               SBuild targetBuild)
                        throws BuildTypeNotFoundException,
                               AccessDeniedException
        Searches for a build according to dependency settings for the specified target build
        Parameters:
        targetBuild - the build for which the resolving is performed
        Returns:
        build or null if build was not found
        Throws:
        BuildTypeNotFoundException - if source build configuration does not exist
        AccessDeniedException - if current authority holder does not have necessary rights for the source build configuration
        Since:
        5.0