com.mysql.management.util
Class Shell.Default

java.lang.Object
  extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.mysql.management.util.Shell
Shell.Default, Shell.Factory, Shell.Stub
 
Constructor Summary
Shell.Default(java.lang.String[] args, java.lang.String name, java.io.PrintStream out, java.io.PrintStream err)
           
 
Method Summary
 void addCompletionListener(java.lang.Runnable listener)
           
 void destroyProcess()
           
 java.lang.String getName()
           
 boolean hasReturned()
           
 boolean isAlive()
           
 boolean isDaemon()
           
 void join()
           
 int returnCode()
           
 void run()
           
 void setDaemon(boolean val)
           
 void setEnvironment(java.lang.String[] envp)
           
 void setWorkingDir(java.io.File workingDir)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shell.Default

public Shell.Default(java.lang.String[] args,
                     java.lang.String name,
                     java.io.PrintStream out,
                     java.io.PrintStream err)
Method Detail

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.