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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LibraryCachingConfiguration.DescriptorImpl
-
Field Summary
Fields Modifier and Type Field Description static String
GLOBAL_LIBRARIES_DIR
static String
LAST_READ_FILE
-
Constructor Summary
Constructors Constructor Description LibraryCachingConfiguration(int refreshTimeMinutes, String excludedVersionsStr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExcludedVersionsStr()
static FilePath
getGlobalLibrariesCacheDir()
String
getIncludedVersionsStr()
long
getRefreshTimeMilliseconds()
int
getRefreshTimeMinutes()
Boolean
isExcluded(String version)
Boolean
isIncluded(String version)
Boolean
isRefreshEnabled()
void
setIncludedVersionsStr(String includedVersionsStr)
String
toString()
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Field Detail
-
GLOBAL_LIBRARIES_DIR
public static final String GLOBAL_LIBRARIES_DIR
- See Also:
- Constant Field Values
-
LAST_READ_FILE
public static final String LAST_READ_FILE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LibraryCachingConfiguration
@DataBoundConstructor public LibraryCachingConfiguration(int refreshTimeMinutes, String excludedVersionsStr)
-
-
Method Detail
-
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)
-
getGlobalLibrariesCacheDir
public static FilePath getGlobalLibrariesCacheDir()
-
-