railo.runtime.tag
Class _Execute

java.lang.Object
  extended by java.lang.Thread
      extended by railo.runtime.tag._Execute
All Implemented Interfaces:
Runnable

public final class _Execute
extends Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
_Execute(PageContext pageContext, Object monitor, String command, Resource outputfile, String variable, String body)
           
 
Method Summary
 void abort(boolean terminateProcess)
          define that execution is aborted
 Exception getException()
           
 boolean hasException()
           
 boolean hasFinished()
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

_Execute

public _Execute(PageContext pageContext,
                Object monitor,
                String command,
                Resource outputfile,
                String variable,
                String body)
Parameters:
pageContext -
monitor -
process -
outputfile -
variable -
body -
terminateOnTimeout -
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread
See Also:
Thread.run()

abort

public void abort(boolean terminateProcess)
define that execution is aborted


hasException

public boolean hasException()

hasFinished

public boolean hasFinished()

getException

public Exception getException()
Returns:
the exception


Copyright © 2012 Railo