com.mysql.management.util
Class Shell.Default
java.lang.Object
com.mysql.management.util.Shell.Default
- All Implemented Interfaces:
- Shell, java.lang.Runnable
- Enclosing interface:
- Shell
public static final class Shell.Default
- extends java.lang.Object
- implements Shell
|
Constructor Summary |
Shell.Default(java.lang.String[] args,
java.lang.String name,
java.io.PrintStream out,
java.io.PrintStream err)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Shell.Default
public Shell.Default(java.lang.String[] args,
java.lang.String name,
java.io.PrintStream out,
java.io.PrintStream err)
setEnvironment
public void setEnvironment(java.lang.String[] envp)
- Specified by:
setEnvironment in interface Shell
setWorkingDir
public void setWorkingDir(java.io.File workingDir)
- Specified by:
setWorkingDir in interface Shell
run
public void run()
- Specified by:
run in interface java.lang.Runnable
addCompletionListener
public void addCompletionListener(java.lang.Runnable listener)
- Specified by:
addCompletionListener in interface Shell
returnCode
public int returnCode()
- Specified by:
returnCode in interface Shell
hasReturned
public boolean hasReturned()
- Specified by:
hasReturned in interface Shell
destroyProcess
public void destroyProcess()
- Specified by:
destroyProcess in interface Shell
getName
public java.lang.String getName()
- Specified by:
getName in interface Shell
isAlive
public boolean isAlive()
- Specified by:
isAlive in interface Shell
isDaemon
public boolean isDaemon()
- Specified by:
isDaemon in interface Shell
setDaemon
public void setDaemon(boolean val)
- Specified by:
setDaemon in interface Shell
join
public void join()
- Specified by:
join in interface Shell
start
public void start()
- Specified by:
start in interface Shell
Copyright © 2004-2011. All Rights Reserved.