Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gov.lanl.Web
Class WebDriver  view WebDriver download WebDriver.java

java.lang.Object
  extended byjava.lang.Thread
      extended bygov.lanl.Web.WebDriver
All Implemented Interfaces:
java.lang.Runnable

public class WebDriver
extends java.lang.Thread

Class for periodically testing a set of actions on a web page Is used for updating web pages automatically


Field Summary
private  java.util.Vector action
           
private static org.apache.log4j.Logger log
           
private  int sleep
           
private  java.lang.String url
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
WebDriver()
          Default constructor
WebDriver(java.util.Properties props)
          Constructor
 
Method Summary
static void main(java.lang.String[] argv)
          test main
 void run()
          do the work
 void setProperties(java.util.Properties props)
          set properties
 void setSleep(int sleep)
          set Sleep value
 void start()
          start
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

url

private java.lang.String url

action

private java.util.Vector action

sleep

private int sleep

log

private static org.apache.log4j.Logger log
Constructor Detail

WebDriver

public WebDriver()
Default constructor


WebDriver

public WebDriver(java.util.Properties props)
Constructor

Method Detail

setProperties

public void setProperties(java.util.Properties props)
set properties


setSleep

public void setSleep(int sleep)
set Sleep value


start

public void start()
start


run

public void run()
do the work


main

public static void main(java.lang.String[] argv)
test main