|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.PluginCacheManager
Plugin cache management.
Field Summary | |
static java.lang.String |
ARTIFACT_ID_CACHE
Artifact ID to Plug-in cache |
static java.lang.String |
CALLBACKS_CACHE
call backs cache |
static java.lang.String |
DYNAMIC_TAGLIBS_CACHE
Taglibs cache |
static java.lang.String |
GOALS_CACHE
Goal cache |
static java.lang.String |
LOCK_CACHE
Plug-in cache lock. |
static java.lang.String |
PLUGIN_DYNATAG_DEPS_CACHE
Plugin -> dynatag dependencies. |
static java.lang.String |
PLUGINS_CACHE
Plug-in cache |
static java.lang.String |
VALID_CACHE
Plug-in cache valid. |
Constructor Summary | |
PluginCacheManager()
Default constructor. |
Method Summary | |
void |
addDynaTagLib(java.lang.String tagLibUri,
JellyScriptHousing housing)
|
void |
addGoal(java.lang.String name,
java.lang.String prereqs,
java.lang.String description,
JellyScriptHousing housing)
|
void |
addPluginDynaTagDep(JellyScriptHousing housing,
java.lang.String uri)
|
void |
addPostGoal(java.lang.String name,
JellyScriptHousing housing)
|
void |
addPreGoal(java.lang.String name,
JellyScriptHousing housing)
|
(package private) void |
checkLockFile(java.io.File lockFile)
|
(package private) java.util.Properties |
getCallbackCache()
|
(package private) java.util.Properties |
getDynaTagLibCache()
|
java.util.Properties |
getGoalCache()
|
(package private) java.util.Properties |
getPluginCache()
|
(package private) java.util.Properties |
getPluginDynaTagDepsCache()
|
(package private) void |
invalidateCache(java.lang.String pluginName)
Invalidate cache information for a single plugin. |
(package private) void |
loadCache(java.io.File directory)
Load on-disk cache information, if possible. |
(package private) boolean |
mapPlugins(GoalToJellyScriptHousingMapper mapper,
PluginManager manager,
java.util.Map pluginDirs)
|
(package private) void |
registerPlugin(java.lang.String name,
JellyScriptHousing housing)
|
void |
removePluginDynaTagDep(JellyScriptHousing housing,
java.lang.String uri)
|
(package private) void |
saveCache(java.io.File directory)
|
void |
setDefaultGoalName(java.lang.String defaultGoalName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String LOCK_CACHE
public static final java.lang.String VALID_CACHE
public static final java.lang.String ARTIFACT_ID_CACHE
public static final java.lang.String PLUGINS_CACHE
public static final java.lang.String GOALS_CACHE
public static final java.lang.String CALLBACKS_CACHE
public static final java.lang.String DYNAMIC_TAGLIBS_CACHE
public static final java.lang.String PLUGIN_DYNATAG_DEPS_CACHE
Constructor Detail |
public PluginCacheManager()
Method Detail |
void checkLockFile(java.io.File lockFile)
void saveCache(java.io.File directory) throws java.io.IOException
java.io.IOException
void loadCache(java.io.File directory)
public void addPluginDynaTagDep(JellyScriptHousing housing, java.lang.String uri)
addPluginDynaTagDep
in interface PluginDefinitionHandler
public void removePluginDynaTagDep(JellyScriptHousing housing, java.lang.String uri)
removePluginDynaTagDep
in interface PluginDefinitionHandler
void registerPlugin(java.lang.String name, JellyScriptHousing housing) throws MavenException
MavenException
public void addPostGoal(java.lang.String name, JellyScriptHousing housing)
addPostGoal
in interface PluginDefinitionHandler
public void addPreGoal(java.lang.String name, JellyScriptHousing housing)
addPreGoal
in interface PluginDefinitionHandler
public void addGoal(java.lang.String name, java.lang.String prereqs, java.lang.String description, JellyScriptHousing housing)
addGoal
in interface PluginDefinitionHandler
public void addDynaTagLib(java.lang.String tagLibUri, JellyScriptHousing housing)
addDynaTagLib
in interface PluginDefinitionHandler
void invalidateCache(java.lang.String pluginName)
pluginName
- The name of the plugin to invalid cache entries.boolean mapPlugins(GoalToJellyScriptHousingMapper mapper, PluginManager manager, java.util.Map pluginDirs) throws java.io.IOException
mapper
-
java.io.IOException
public void setDefaultGoalName(java.lang.String defaultGoalName)
setDefaultGoalName
in interface PluginDefinitionHandler
java.util.Properties getPluginCache()
public java.util.Properties getGoalCache()
java.util.Properties getCallbackCache()
java.util.Properties getDynaTagLibCache()
java.util.Properties getPluginDynaTagDepsCache()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |