org.apache.commons.jelly.tags.werkz
Class GoalTag
java.lang.Object
|
+--org.apache.commons.jelly.TagSupport
|
+--org.apache.commons.jelly.tags.werkz.WerkzTagSupport
|
+--org.apache.commons.jelly.tags.werkz.GoalTag
- All Implemented Interfaces:
- Tag
- Direct Known Subclasses:
- TargetTag
- public class GoalTag
- extends WerkzTagSupport
Implements a <target> tag which is similar to the Ant equivalent tag
but is based on the Werkz goal engine.
- Version:
- $Revision: 1.6 $
- Author:
- James Strachan
Method Summary |
protected void |
addPrereqs(com.werken.werkz.Goal goal)
|
void |
doTag(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()
|
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.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, setContext, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GoalTag
public GoalTag()
doTag
public void doTag(XMLOutput output)
throws java.lang.Exception
- Evaluate the body to register all the various goals and pre/post conditions
then run all the current targets
getName
public java.lang.String getName()
- Returns:
- the name of the target
setName
public void setName(java.lang.String name)
- Sets the name of the target
setPrereqs
public void setPrereqs(java.lang.String prereqs)
getPrereqs
public java.lang.String getPrereqs()
setDescription
public void setDescription(java.lang.String description)
addPrereqs
protected void addPrereqs(com.werken.werkz.Goal goal)
throws com.werken.werkz.CyclicGoalChainException
Copyright © 2002-2002 Apache Software Foundation. All Rights Reserved.