Class LibraryCachingConfiguration

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

public final class LibraryCachingConfiguration extends AbstractDescribableImpl<LibraryCachingConfiguration>
  • Field Details

  • Constructor Details

    • LibraryCachingConfiguration

      @DataBoundConstructor public LibraryCachingConfiguration(int refreshTimeMinutes, String excludedVersionsStr)
  • Method Details

    • getRefreshTimeMinutes

      public int getRefreshTimeMinutes()
    • getRefreshTimeMilliseconds

      public long getRefreshTimeMilliseconds()
    • isRefreshEnabled

      public Boolean isRefreshEnabled()
    • getExcludedVersionsStr

      public String getExcludedVersionsStr()
    • getIncludedVersionsStr

      public String getIncludedVersionsStr()
    • setIncludedVersionsStr

      @DataBoundSetter public void setIncludedVersionsStr(String includedVersionsStr)
    • isExcluded

      public Boolean isExcluded(String version)
    • isIncluded

      public Boolean isIncluded(String version)
    • toString

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

      public static FilePath getGlobalLibrariesCacheDir()