Package org.eolang.maven.optimization
Class OptCached
- java.lang.Object
-
- org.eolang.maven.optimization.OptCached
-
- All Implemented Interfaces:
Function<com.jcabi.xml.XML,com.jcabi.xml.XML>
,Optimization
public final class OptCached extends Object implements Optimization
The cached optimization. Returns already optimized XML if it's found in the cache.- Since:
- 0.28.11
-
-
Constructor Summary
Constructors Constructor Description OptCached(Optimization delegate, Path folder, Path path)
The main constructor.
-
-
-
Constructor Detail
-
OptCached
public OptCached(Optimization delegate, Path folder, Path path)
The main constructor.- Parameters:
delegate
- Real optimization.folder
- Cache folder.path
- XML file path.
-
-