org.apache.commons.jelly.tags.threads
Class SleepTag

java.lang.Object
  |
  +--org.apache.commons.jelly.TagSupport
        |
        +--org.apache.commons.jelly.tags.threads.SleepTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class SleepTag
extends org.apache.commons.jelly.TagSupport

Puts the current thread to sleep for some amount of time.

Author:
Jason Horman

Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
SleepTag()
           
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
          Put the thread to sleep
 void setFor(long howLong)
          How long to put the thread to sleep for
 
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

SleepTag

public SleepTag()
Method Detail

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.JellyTagException
Put the thread to sleep
Overrides:
doTag in class org.apache.commons.jelly.TagSupport

setFor

public void setFor(long howLong)
How long to put the thread to sleep for
Parameters:
howLong - in millis


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