public class UseGoalsTag extends WerkzTagSupport
So if the goals is output to a variable called 'g' then you can access a specific goal via a Jexl expression ${g.java.compile} or to find all the 'java' goals you can use ${g.java} which returns a sorted Map.
| Constructor and Description |
|---|
UseGoalsTag() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Map |
createMap()
Factory method to create a new sorted map
|
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
|
void |
setVar(java.lang.String var)
Sets the variable for which the Map of Map of goals will be exported
|
getGoal, getProjectfindAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBodypublic void doTag(org.apache.commons.jelly.XMLOutput output)
throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagExceptionpublic void setVar(java.lang.String var)
protected java.util.Map createMap()
Copyright © 2001-2013 Apache Software Foundation. All Rights Reserved.