org.sonar.commons.commands
Class CommandTask
java.lang.Object
org.sonar.commons.commands.CommandTask
- All Implemented Interfaces:
- java.lang.Runnable
public class CommandTask
- extends java.lang.Object
- implements java.lang.Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandTask
public CommandTask()
CommandTask
public CommandTask(java.lang.String... args)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
timeoutExceptionCatched
public boolean timeoutExceptionCatched()
otherExceptionCatched
public boolean otherExceptionCatched()
getTimeout
public long getTimeout()
setTimeout
public void setTimeout(long timeout)
getNotifier
public CommandExceptionNotifier getNotifier()
setNotifier
public void setNotifier(CommandExceptionNotifier notifier)
getTimeOutTask
public org.sonar.commons.commands.TimeOutTask getTimeOutTask()
setTimeOutTask
public void setTimeOutTask(org.sonar.commons.commands.TimeOutTask timeOutTask)
getOutput
public java.lang.String getOutput()
throws java.io.IOException
- Throws:
java.io.IOException
getErrorOutput
public java.lang.String getErrorOutput()
throws java.io.IOException
- Throws:
java.io.IOException
getDirectory
public java.lang.String getDirectory()
setDirectory
public void setDirectory(java.lang.String directory)
isEnableCollectOutput
public boolean isEnableCollectOutput()
setEnableCollectOutput
public void setEnableCollectOutput(boolean enableCollectOutput)
Copyright © 2007-2008 hortis. All Rights Reserved.