public class MavenAttainGoalTag extends WerkzTagSupport
AttainGoalTag
which will lazy initialise goals.Constructor and Description |
---|
MavenAttainGoalTag()
Construct.
|
Modifier and Type | Method and Description |
---|---|
Session |
createSession()
Retrieve the
Session to use, if set. |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
Evaluate the body to register all the various goals and pre/post conditions
then run all the current targets
|
java.lang.String |
getName() |
WerkzProject |
getProject() |
void |
invokeBody(org.apache.commons.jelly.XMLOutput output)
Define a goal.
|
void |
setName(java.lang.String name) |
getGoal
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
public Session createSession()
Session
to use, if set.public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
public void invokeBody(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.JellyTagException
invokeBody
in interface org.apache.commons.jelly.Tag
invokeBody
in class org.apache.commons.jelly.TagSupport
output
- The output sink.org.apache.commons.jelly.JellyTagException
- If an error occurs while executing the tag.public void setName(java.lang.String name)
public java.lang.String getName()
public WerkzProject getProject()
getProject
in class WerkzTagSupport
Copyright © 2001-2013 Apache Software Foundation. All Rights Reserved.