com.werken.werkz.jelly
Class AttainGoalTag

java.lang.Object
  extended by org.apache.commons.jelly.TagSupport
      extended by com.werken.werkz.jelly.WerkzTagSupport
          extended by com.werken.werkz.jelly.AttainGoalTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class AttainGoalTag
extends WerkzTagSupport

Attains one or more goals.

Version:
$Revision: 1.4 $
Author:
bob mcwhirter

Field Summary
private  java.lang.String name
          The goal name.
private  Session session
          The session.
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
AttainGoalTag()
          Construct.
 
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
 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 com.werken.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
 

Field Detail

name

private java.lang.String name
The goal name.


session

private Session session
The session.

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(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

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()