|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jelly.TagSupport org.apache.maven.werkz.jelly.WerkzTagSupport org.apache.maven.werkz.jelly.GoalTag org.apache.maven.jelly.tags.werkz.MavenGoalTag
Replacement for werkz's GoalTag
which does not allow a goal
to be redefined once defined.
For Jelly scripts that are run which contain this tag it is assumed that
they are being run in the order whereby the first definition wins.
Nested Class Summary | |
class |
MavenGoalTag.MavenGoalAction
|
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
MavenGoalTag()
Construct. |
Method Summary | |
void |
doTag(XMLOutput output)
Define a goal. |
WerkzProject |
getProject()
|
(package private) void |
runBodyTag(Session session)
|
Methods inherited from class org.apache.maven.werkz.jelly.GoalTag |
addPrereqs, getAction, getName, getPrereqs, setDescription, setName, setPrereqs |
Methods inherited from class org.apache.maven.werkz.jelly.WerkzTagSupport |
getGoal |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MavenGoalTag()
Method Detail |
public void doTag(XMLOutput output) throws JellyTagException
doTag
in interface Tag
doTag
in class GoalTag
output
- The output sink.
JellyTagException
- If an error occurs while executing the tag.void runBodyTag(Session session) throws JellyTagException
JellyTagException
public WerkzProject getProject()
getProject
in class WerkzTagSupport
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |