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

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

public class CronTriggerTag
extends QuartzTagSupport

Define a trigger using a cron time spec.

Author:
bob mcwhirter

Field Summary
 
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
CronTriggerTag()
          Construct.
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
          Perform this tag.
 java.lang.String getGroup()
          Retrieve the group.
 java.lang.String getJobGroup()
          Retrieve the job group.
 java.lang.String getJobName()
          Retrieve the job name.
 java.lang.String getName()
          Retrieve the name.
 java.lang.String getSpec()
          Retrieve the cron time spec.
 void setGroup(java.lang.String group)
          Set the group
 void setJobGroup(java.lang.String jobGroup)
          Set the job group.
 void setJobName(java.lang.String jobName)
          Set the job name.
 void setName(java.lang.String name)
          Set the name.
 void setSpec(java.lang.String spec)
          Set the cron time spec.
 
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
 

Constructor Detail

CronTriggerTag

public CronTriggerTag()
Construct.

Method Detail

setName

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


getName

public java.lang.String getName()
Retrieve the name.

Returns:
The name.

setGroup

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

Parameters:
group - The group

getGroup

public java.lang.String getGroup()
Retrieve the group.

Returns:
The group.

setSpec

public void setSpec(java.lang.String spec)
Set the cron time spec.

Parameters:
spec - The cron time spec.

getSpec

public java.lang.String getSpec()
Retrieve the cron time spec.


setJobName

public void setJobName(java.lang.String jobName)
Set the job name.

Parameters:
jobName - The job name.

getJobName

public java.lang.String getJobName()
Retrieve the job name.

Returns:
The job name.

setJobGroup

public void setJobGroup(java.lang.String jobGroup)
Set the job group.

Parameters:
jobGroup - The job group.

getJobGroup

public java.lang.String getJobGroup()
Retrieve the job group.

Returns:
The job group.

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


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.