org.apache.maven.jelly.tags.werkz
Class MavenAttainGoalTag
java.lang.Object
org.apache.commons.jelly.TagSupport
org.apache.maven.werkz.jelly.WerkzTagSupport
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag
- All Implemented Interfaces:
- Tag
- public class MavenAttainGoalTag
- extends WerkzTagSupport
Replacement for werkz's AttainGoalTag
which will lazy initialise goals.
- Version:
- $Id: MavenAttainGoalTag.java 517014 2007-03-11 21:15:50Z ltheussl $
- Author:
- Brett Porter
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, 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 |
MavenAttainGoalTag
public MavenAttainGoalTag()
- Construct.
createSession
public Session createSession()
- Retrieve the
Session
to use, if set.
- Returns:
- The session or null.
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
invokeBody
public void invokeBody(XMLOutput output)
throws JellyTagException
- Define a goal.
- Parameters:
output
- The output sink.
- Throws:
JellyTagException
- If an error occurs while executing the tag.
setName
public void setName(java.lang.String name)
getName
public java.lang.String getName()
getProject
public WerkzProject getProject()
- Overrides:
getProject
in class WerkzTagSupport
- Returns:
- the goal manager instance
Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.