|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.GoalToJellyScriptHousingMapper
This is the process that we use: - Start with goal X - Gather prereqs for X We want to find all goals that will be executed due to X being executed we don't care about ordering here because when werkz executes it will sort that out for us. We just need to make sure all the appropriate plugins have been loaded so that werkz can find the goals it needs. For a single goal we will collect the set of goals that will be executed with it.
Constructor Summary | |
GoalToJellyScriptHousingMapper()
Default constructor. |
Method Summary | |
void |
addDynaTagLib(java.lang.String tagLibUri,
JellyScriptHousing jellyScriptHousing)
|
void |
addGoal(java.lang.String name,
java.lang.String prereqs,
java.lang.String description,
JellyScriptHousing jellyScriptHousing)
|
void |
addPluginDynaTagDep(JellyScriptHousing housing,
java.lang.String uri)
|
void |
addPostGoal(java.lang.String name,
JellyScriptHousing jellyScriptHousing)
|
void |
addPreGoal(java.lang.String name,
JellyScriptHousing jellyScriptHousing)
|
(package private) void |
addResolvedPlugins(java.util.List projectHousings)
|
(package private) void |
clearResolvedPlugins()
|
java.lang.String |
getDefaultGoalName()
|
Goal[] |
getExecutionChain(java.lang.String name,
WerkzProject project)
|
(package private) java.lang.String |
getGoalDescription(java.lang.String goalName)
|
(package private) java.util.Set |
getGoalNames()
|
JellyScriptHousing |
getPluginHousing(java.lang.String goal)
|
(package private) java.util.HashSet |
getPostGoalDecorators(java.lang.String goalName)
|
(package private) java.util.HashSet |
getPreGoalDecorators(java.lang.String goalName)
|
(package private) void |
invalidatePlugin(JellyScriptHousing housing)
|
(package private) void |
merge(GoalToJellyScriptHousingMapper mapper)
Merge parent mapper. |
void |
removePluginDynaTagDep(JellyScriptHousing housing,
java.lang.String uri)
|
(package private) java.util.Set |
resolveJellyScriptHousings(java.lang.String goal)
Find the appropriate plugins that provide the give goal and its precursors. |
void |
setDefaultGoalName(java.lang.String defaultGoalName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GoalToJellyScriptHousingMapper()
Method Detail |
void merge(GoalToJellyScriptHousingMapper mapper) throws CyclicGoalChainException
mapper
- mapper to copy from
CyclicGoalChainException
public java.lang.String getDefaultGoalName()
public void setDefaultGoalName(java.lang.String defaultGoalName)
setDefaultGoalName
in interface PluginDefinitionHandler
public JellyScriptHousing getPluginHousing(java.lang.String goal)
java.util.HashSet getPostGoalDecorators(java.lang.String goalName)
java.util.HashSet getPreGoalDecorators(java.lang.String goalName)
java.util.Set resolveJellyScriptHousings(java.lang.String goal) throws NoSuchGoalException
goal
- the goal to find
NoSuchGoalException
- if the given goal is in no pluginsMavenAttainGoalTag
public Goal[] getExecutionChain(java.lang.String name, WerkzProject project) throws NoSuchGoalException
NoSuchGoalException
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
public void addDynaTagLib(java.lang.String tagLibUri, JellyScriptHousing jellyScriptHousing)
addDynaTagLib
in interface PluginDefinitionHandler
public void addPostGoal(java.lang.String name, JellyScriptHousing jellyScriptHousing)
addPostGoal
in interface PluginDefinitionHandler
public void addPreGoal(java.lang.String name, JellyScriptHousing jellyScriptHousing)
addPreGoal
in interface PluginDefinitionHandler
public void addGoal(java.lang.String name, java.lang.String prereqs, java.lang.String description, JellyScriptHousing jellyScriptHousing)
addGoal
in interface PluginDefinitionHandler
java.util.Set getGoalNames()
java.lang.String getGoalDescription(java.lang.String goalName)
void addResolvedPlugins(java.util.List projectHousings)
void clearResolvedPlugins()
void invalidatePlugin(JellyScriptHousing housing)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |