Class Forge


  • public class Forge
    extends com.synopsys.integration.util.Stringable
    • Field Detail

      • ALPINE

        public static final Forge ALPINE
      • ANACONDA

        public static final Forge ANACONDA
      • APACHE_SOFTWARE

        public static final Forge APACHE_SOFTWARE
      • BITBUCKET

        public static final Forge BITBUCKET
      • BOWER

        public static final Forge BOWER
      • BUSYBOX

        public static final Forge BUSYBOX
      • CRATES

        public static final Forge CRATES
      • CENTOS

        public static final Forge CENTOS
      • CODEPLEX

        public static final Forge CODEPLEX
      • CODEPLEX_GROUP

        public static final Forge CODEPLEX_GROUP
      • CPAN

        public static final Forge CPAN
      • CRAN

        public static final Forge CRAN
      • DEBIAN

        public static final Forge DEBIAN
      • FEDORA

        public static final Forge FEDORA
      • FREEDESKTOP_ORG

        public static final Forge FREEDESKTOP_ORG
      • GITCAFE

        public static final Forge GITCAFE
      • GITLAB

        public static final Forge GITLAB
      • GITORIOUS

        public static final Forge GITORIOUS
      • GOGET

        public static final Forge GOGET
      • GNU

        public static final Forge GNU
      • GOOGLECODE

        public static final Forge GOOGLECODE
      • HEX

        public static final Forge HEX
      • JAVA_NET

        public static final Forge JAVA_NET
      • KDE_ORG

        public static final Forge KDE_ORG
      • LAUNCHPAD

        public static final Forge LAUNCHPAD
      • LONG_TAIL

        public static final Forge LONG_TAIL
      • NUGET

        public static final Forge NUGET
      • NPMJS

        public static final Forge NPMJS
      • PEAR

        public static final Forge PEAR
      • PYPI

        public static final Forge PYPI
      • REDHAT

        public static final Forge REDHAT
      • RUBYFORGE

        public static final Forge RUBYFORGE
      • RUBYGEMS

        public static final Forge RUBYGEMS
      • SOURCEFORGE

        public static final Forge SOURCEFORGE
      • SOURCEFORGE_JP

        public static final Forge SOURCEFORGE_JP
      • UBUNTU

        public static final Forge UBUNTU
      • YOCTO

        public static final Forge YOCTO
      • ANDROID

        public static final Forge ANDROID
      • COCOAPODS

        public static final Forge COCOAPODS
      • CPE

        public static final Forge CPE
      • GITHUB

        public static final Forge GITHUB
      • GOLANG

        public static final Forge GOLANG
      • MAVEN

        public static final Forge MAVEN
      • PACKAGIST

        public static final Forge PACKAGIST
    • Constructor Detail

      • Forge

        public Forge​(java.lang.String separator,
                     java.lang.String name)
      • Forge

        public Forge​(java.lang.String separator,
                     java.lang.String name,
                     boolean usePreferredNamespaceAlias)
    • Method Detail

      • getKnownForges

        public static java.util.Map<java.lang.String,​Forge> getKnownForges()
        The various separators here are to support three systems 1) bdio, 2) Black Duck, 3) Black Duck Knowledge Base. To support matching in various Black Duck versions, the separators need to conform to the separators defined in the source of the bdio project here: https://github.com/blackducksoftware/bdio/blob/2.1.1/bdio/src/main/java/com/blackducksoftware/bdio/model/ExternalIdentifierBuilder.java However, as of Black Duck 4.3.2, those separators are internally transformed to the KB separators, which are (currently) defined here: https://confluence.dc1.lan/display/KB/KB+Details+Service#KBDetailsService-ForgeNames As of 2017-11-29, only forward slashes and colons are used for KB separators.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class com.synopsys.integration.util.Stringable
      • getName

        public java.lang.String getName()
      • getSeparator

        public java.lang.String getSeparator()