Class SimpleArbitraryFileCacheStrategy
java.lang.Object
jenkins.plugins.jobcacher.arbitrary.SimpleArbitraryFileCacheStrategy
- All Implemented Interfaces:
Serializable,ArbitraryFileCacheStrategy
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcache(FilePath source, String includes, String excludes, boolean useDefaultExcludes, ObjectPath target, FilePath workspace) createCacheName(String basename) voidrestore(ObjectPath source, FilePath target, FilePath workspace)
-
Constructor Details
-
SimpleArbitraryFileCacheStrategy
public SimpleArbitraryFileCacheStrategy()
-
-
Method Details
-
createCacheName
- Specified by:
createCacheNamein interfaceArbitraryFileCacheStrategy
-
cache
public void cache(FilePath source, String includes, String excludes, boolean useDefaultExcludes, ObjectPath target, FilePath workspace) throws IOException, InterruptedException - Specified by:
cachein interfaceArbitraryFileCacheStrategy- Throws:
IOExceptionInterruptedException
-
restore
public void restore(ObjectPath source, FilePath target, FilePath workspace) throws IOException, InterruptedException - Specified by:
restorein interfaceArbitraryFileCacheStrategy- Throws:
IOExceptionInterruptedException
-