Class LibraryConfiguration

java.lang.Object
hudson.model.AbstractDescribableImpl<LibraryConfiguration>
org.jenkinsci.plugins.workflow.libs.LibraryConfiguration
All Implemented Interfaces:
Describable<LibraryConfiguration>

public class LibraryConfiguration extends AbstractDescribableImpl<LibraryConfiguration>
User configuration for one library.
  • Constructor Details

    • LibraryConfiguration

      @DataBoundConstructor public LibraryConfiguration(String name, LibraryRetriever retriever)
  • Method Details

    • getName

      public String getName()
      Library name. Should match Library.value(), up to the first occurrence of @, if any.
    • getRetriever

      public LibraryRetriever getRetriever()
    • getDefaultVersion

      public String getDefaultVersion()
    • setDefaultVersion

      @DataBoundSetter public void setDefaultVersion(String defaultVersion)
    • isImplicit

      public boolean isImplicit()
      Whether the library should be made accessible to qualifying jobs without any explicit Library declaration.
    • setImplicit

      @DataBoundSetter public void setImplicit(boolean implicit)
    • isAllowVersionOverride

      public boolean isAllowVersionOverride()
      Whether jobs should be permitted to override getDefaultVersion().
    • setAllowVersionOverride

      @DataBoundSetter public void setAllowVersionOverride(boolean allowVersionOverride)
    • getIncludeInChangesets

      public boolean getIncludeInChangesets()
      Whether to include library changes in reported changes in a job getIncludeInChangesets().
    • setIncludeInChangesets

      @DataBoundSetter public void setIncludeInChangesets(boolean includeInChangesets)
    • getCachingConfiguration

      public LibraryCachingConfiguration getCachingConfiguration()
    • setCachingConfiguration

      @DataBoundSetter public void setCachingConfiguration(LibraryCachingConfiguration cachingConfiguration)