|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.pax.construct.util.CacheUtils
public final class CacheUtils
Various utility methods for caching files between plugins
Method Summary | |
---|---|
static void |
pullFile(org.apache.maven.plugin.AbstractMojo mojo,
java.lang.String key,
java.io.File file)
Restore a text-based file from the plugin context |
static void |
pushFile(org.apache.maven.plugin.AbstractMojo mojo,
java.lang.String key,
java.io.File file)
Cache a text-based file inside the plugin context |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void pushFile(org.apache.maven.plugin.AbstractMojo mojo, java.lang.String key, java.io.File file)
mojo
- currently executing mojokey
- unique identifierfile
- text-based filepublic static void pullFile(org.apache.maven.plugin.AbstractMojo mojo, java.lang.String key, java.io.File file)
mojo
- currently executing mojokey
- unique identifierfile
- text-based file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |