|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.maven.werkz.jelly.WerkzTagSupport
org.apache.maven.werkz.jelly.GoalTag
public class GoalTag
Implements a <target> tag which is similar to the Ant equivalent tag but is based on the Werkz goal engine.
Field Summary |
---|
Fields inherited from class org.apache.commons.jelly.TagSupport |
---|
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
---|---|
GoalTag()
|
Method Summary | |
---|---|
protected void |
addPrereqs(Goal goal)
|
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 |
protected Action |
getAction()
Subclasses can override this template method to provide a custom Action implementation. |
java.lang.String |
getName()
|
java.lang.String |
getPrereqs()
|
void |
setDescription(java.lang.String description)
|
void |
setName(java.lang.String name)
Sets the name of the target |
void |
setPrereqs(java.lang.String prereqs)
|
Methods inherited from class org.apache.maven.werkz.jelly.WerkzTagSupport |
---|
getGoal, getProject |
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 GoalTag()
Method Detail |
---|
public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
public java.lang.String getName()
public void setName(java.lang.String name)
public void setPrereqs(java.lang.String prereqs)
public java.lang.String getPrereqs()
public void setDescription(java.lang.String description)
protected void addPrereqs(Goal goal) throws CyclicGoalChainException
CyclicGoalChainException
protected Action getAction()
Action
implementation. This scenerio will
most likely come into play when you have also created a custom
Session
implementation that can be used to provide
parameters during the attainment of a Goal
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |