net.flexmojos.oss.test
Class AbstractControlledThread
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
net.flexmojos.oss.test.AbstractControlledThread
- All Implemented Interfaces:
- Runnable, ControlledThread, org.codehaus.plexus.logging.LogEnabled
- Direct Known Subclasses:
- AbstractSocketThread, AsVmLauncher
public abstract class AbstractControlledThread
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements ControlledThread, Runnable
| Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
run |
status
protected ThreadStatus status
error
protected Throwable error
AbstractControlledThread
public AbstractControlledThread()
launch
protected void launch()
getStatus
public final ThreadStatus getStatus()
- Specified by:
getStatus in interface ControlledThread
getError
public final Throwable getError()
- Specified by:
getError in interface ControlledThread
lock
public void lock()
- Specified by:
lock in interface ControlledThread
unlock
public void unlock()
- Specified by:
unlock in interface ControlledThread
reset
protected void reset()
Copyright © 2008–2014 flexmojos. All rights reserved.