com.mysql.management.util
Interface Shell
- All Superinterfaces:
- java.lang.Runnable
- All Known Implementing Classes:
- Shell.Default, Shell.Stub
public interface Shell
- extends java.lang.Runnable
Represents a command to be executed by the os, like a command line.
Extends java.util.Thread and thus: May execute within the
current thread by calling run directly. May be launched as a
separate thread by calling start.
- Version:
- $Id: Shell.java,v 1.15 2005/12/01 21:45:31 eherman Exp $
- Author:
- Eric Herman
| Methods inherited from interface java.lang.Runnable |
run |
setEnvironment
void setEnvironment(java.lang.String[] envp)
setWorkingDir
void setWorkingDir(java.io.File workingDir)
addCompletionListener
void addCompletionListener(java.lang.Runnable listener)
returnCode
int returnCode()
hasReturned
boolean hasReturned()
destroyProcess
void destroyProcess()
getName
java.lang.String getName()
isAlive
boolean isAlive()
isDaemon
boolean isDaemon()
setDaemon
void setDaemon(boolean val)
join
void join()
start
void start()
Copyright © 2004-2011. All Rights Reserved.