org.apache.maven.werkz.jelly
Class AttainGoalTag

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

public class AttainGoalTag
extends WerkzTagSupport

Attains one or more goals.

Version:
$Revision: 1.4 $
Author:
bob mcwhirter

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
AttainGoalTag()
          Construct.
 
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
 java.lang.String getName()
           
 Session getSession()
          Retrieve the Session to use, if set.
 void setName(java.lang.String name)
           
 void setSession(Session session)
          Set the Session to use.
 
Methods inherited from class org.apache.maven.werkz.jelly.WerkzTagSupport
getGoal, getProject
 
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

AttainGoalTag

public AttainGoalTag()
Construct.

Method Detail

setSession

public void setSession(Session session)
Set the Session to use.

Parameters:
session - The session.

getSession

public Session getSession()
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

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()


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