com.werken.werkz.jelly
Class ProjectTag

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended bycom.werken.werkz.jelly.WerkzTagSupport
          extended bycom.werken.werkz.jelly.ProjectTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class ProjectTag
extends WerkzTagSupport

The root tag of a Project definition.

Version:
$Revision: 1.2 $
Author:
James Strachan

Field Summary
private  java.lang.String defaultGoalName
           
private  WerkzProject project
          the project
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
ProjectTag()
           
 
Method Summary
 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
 WerkzProject getProject()
           
 void setDefault(java.lang.String defaultGoalName)
           
 
Methods inherited from class com.werken.werkz.jelly.WerkzTagSupport
getGoal
 
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
 

Field Detail

project

private WerkzProject project
the project


defaultGoalName

private java.lang.String defaultGoalName
Constructor Detail

ProjectTag

public ProjectTag()
Method Detail

getProject

public WerkzProject getProject()
Overrides:
getProject in class WerkzTagSupport
Returns:
the project instance

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.JellyTagException
Evaluate the body to register all the various goals and pre/post conditions then run all the current targets

Throws:
org.apache.commons.jelly.JellyTagException

setDefault

public void setDefault(java.lang.String defaultGoalName)