edu.ntnu.cikmr.workflow
Class Wait

java.lang.Object
  extended by edu.ntnu.cikmr.workflow.Statement
      extended by edu.ntnu.cikmr.workflow.Wait
All Implemented Interfaces:
Executable, XMLRepresentation

public class Wait
extends Statement

Title: Wait statement

Description: Wait a configurable amount of milliseconds.

Copyright: Copyright (c) 2007


Constructor Summary
Wait()
           
 
Method Summary
 boolean execute()
           
 void fromXML(org.w3c.dom.Node n)
           
 int getMilliseconds()
          Returns the amount of milliseconds to wait.
 boolean getResult()
           
 void setMilliseconds(int milliseconds)
          Sets the amount of milliseconds to wait.
 java.lang.String toXML()
           
 
Methods inherited from class edu.ntnu.cikmr.workflow.Statement
getParent, resolve, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Wait

public Wait()
Method Detail

fromXML

public void fromXML(org.w3c.dom.Node n)

execute

public boolean execute()

getResult

public boolean getResult()

getMilliseconds

public int getMilliseconds()
Returns the amount of milliseconds to wait.

Returns:
milliseconds

toXML

public java.lang.String toXML()

setMilliseconds

public void setMilliseconds(int milliseconds)
Sets the amount of milliseconds to wait.

Parameters:
milliseconds - the amount of milliseconds to wait.