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