org.apache.commons.jelly.tags.quartz
Class JobTag

java.lang.Object
  extended by org.apache.commons.jelly.TagSupport
      extended by org.apache.commons.jelly.tags.quartz.QuartzTagSupport
          extended by org.apache.commons.jelly.tags.quartz.JobTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class JobTag
extends QuartzTagSupport

Defines a schedulable job.

Author:
bob mcwhirter

Field Summary
private  java.lang.String group
          Group of the job.
private  java.lang.String name
          Name of the job.
 
Fields inherited from class org.apache.commons.jelly.tags.quartz.QuartzTagSupport
SCHED_VAR_NAME
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
JobTag()
          Construct.
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
          Perform this tag.
 java.lang.String getGroup()
          Retrieve the group of this job.
 java.lang.String getName()
          Retrieve the name of this job.
 void setGroup(java.lang.String group)
          Set the group of this job.
 void setName(java.lang.String name)
          Set the name of this job.
 
Methods inherited from class org.apache.commons.jelly.tags.quartz.QuartzTagSupport
getScheduler
 
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

group

private java.lang.String group
Group of the job.


name

private java.lang.String name
Name of the job.

Constructor Detail

JobTag

public JobTag()
Construct.

Method Detail

setName

public void setName(java.lang.String name)
Set the name of this job.

Parameters:
name - The name of this job.

getName

public java.lang.String getName()
Retrieve the name of this job.

Returns:
The name of this job.

setGroup

public void setGroup(java.lang.String group)
Set the group of this job.

Parameters:
group - The group of this job.

getGroup

public java.lang.String getGroup()
Retrieve the group of this job.

Returns:
The group of this job.

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.MissingAttributeException,
                  org.apache.commons.jelly.JellyTagException
Perform this tag.

Parameters:
output - Output sink.
Throws:
java.lang.Exception - If an error occurs.
org.apache.commons.jelly.MissingAttributeException
org.apache.commons.jelly.JellyTagException