Class LibraryRecord


  • @ExportedBean
    public final class LibraryRecord
    extends Object
    Record of a library being used in a particular build.
    • Method Detail

      • getName

        @Exported
        public String getName()
      • getDirectoryName

        public String getDirectoryName()
        Returns a partially unique name that can be safely used as a directory name. Uniqueness is based on the library name, version, whether it is trusted, and the source of the library. LibraryRetriever-specific information such as the SCM is not used to produce this name.
      • getVersion

        @Exported
        public String getVersion()
      • getVariables

        @Exported
        public Set<String> getVariables()
      • isTrusted

        @Exported
        public boolean isTrusted()
      • isChangelog

        @Exported
        public boolean isChangelog()
      • directoryNameFor

        public static String directoryNameFor​(String... data)