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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
directoryNameFor(String... data)
String
getDirectoryName()
Returns a partially unique name that can be safely used as a directory name.String
getName()
Set<String>
getVariables()
String
getVersion()
boolean
isChangelog()
boolean
isTrusted()
String
toString()
-
-
-
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()
-
isTrusted
@Exported public boolean isTrusted()
-
isChangelog
@Exported public boolean isChangelog()
-
-