Class LibraryRecord

java.lang.Object
org.jenkinsci.plugins.workflow.libs.LibraryRecord

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

    • 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.
    • getLogString

      public String getLogString()
      Returns a string representation to be used for example in the LibraryAdder.
    • getVersion

      @Exported public String getVersion()
    • getVariables

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

      @Exported public boolean isTrusted()
    • isChangelog

      @Exported public boolean isChangelog()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • directoryNameFor

      public static String directoryNameFor(String... data)