org.apache.maven.werkz.jelly
Class ProjectTag

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

public class ProjectTag
extends WerkzTagSupport

The root tag of a Project definition.

Version:
$Revision: 1.2 $
Author:
James Strachan

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
ProjectTag()
           
 
Method Summary
 void doTag(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 org.apache.maven.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
 

Constructor Detail

ProjectTag

public ProjectTag()
Method Detail

getProject

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

doTag

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

Throws:
JellyTagException

setDefault

public void setDefault(java.lang.String defaultGoalName)


Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.