org.apache.maven.jelly.tags.werkz
Class MavenGoalTag

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

public class MavenGoalTag
extends com.werken.werkz.jelly.GoalTag

Replacement for werkz's GoalTag which does not allow a goal to be redefined once defined. For Jelly scripts that are run which contain this tag it is assumed that they are being run in the order whereby the first definition wins.

Version:
$Id: MavenGoalTag.java 122327 2004-06-26 14:55:46Z dion $
Author:
Brett Porter

Nested Class Summary
 class MavenGoalTag.MavenGoalAction
           
 
Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
MavenGoalTag()
          Construct.
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
          Define a goal.
 com.werken.werkz.WerkzProject getProject()
           
 
Methods inherited from class com.werken.werkz.jelly.GoalTag
addPrereqs, getAction, getName, getPrereqs, setDescription, setName, setPrereqs
 
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
 

Constructor Detail

MavenGoalTag

public MavenGoalTag()
Construct.

Method Detail

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.JellyTagException
Define a goal.

Parameters:
output - The output sink.
Throws:
org.apache.commons.jelly.JellyTagException - If an error occurs while executing the tag.

getProject

public com.werken.werkz.WerkzProject getProject()


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