public class GoalTag extends WerkzTagSupport
Constructor and Description |
---|
GoalTag() |
Modifier and Type | Method and Description |
---|---|
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) |
getGoal, getProject
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
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
.Copyright © 2001-2013 Apache Software Foundation. All Rights Reserved.