|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ControlComputerInterface
Nested Class Summary | |
---|---|
static interface |
ControlComputerInterface.ConfirmationHandler
|
static interface |
ControlComputerInterface.FileMatches
|
static class |
ControlComputerInterface.RegexpFileMatches
|
static interface |
ControlComputerInterface.SearchForFile
|
Field Summary | |
---|---|
static int |
NOT_UNIX
|
static int |
OS_UNKNOWN
|
static int |
UNIX
|
static int |
UNIX_LINUX
|
static int |
UNIX_MACOSX
|
static int |
UNIX_OTHER
|
static int |
WINDOWS
|
Method Summary | |
---|---|
boolean |
copyTo(java.io.File[] files,
java.lang.String toDir)
|
void |
dispose()
|
java.lang.String |
getAllOutput()
|
java.lang.String |
getDirectorySeparator()
Usually this is '\' for Windows and '/' for everything else. |
java.lang.String |
getHostname()
|
java.lang.String |
getLastErrorMessage()
|
int |
getOperatingSystem()
Operating System Checks may or may not be implemented. |
java.lang.String |
getOSVersion()
|
java.lang.String |
getTempDirectory()
Get a path for temporary files. |
int |
getUnixVariant()
|
boolean |
isStillRunningLastCommand()
|
void |
restart()
|
boolean |
runCommand(java.lang.String line)
|
boolean |
runCommand(java.lang.String[] line)
|
boolean |
runCommand(java.lang.String[] line,
boolean waitForFinish)
|
int |
runCommand(java.lang.String[] line,
java.lang.String[] phrasesToWaitFor)
|
boolean |
runCommand(java.lang.String line,
boolean waitForFinish)
|
int |
runCommand(java.lang.String line,
java.lang.String[] phrasesToWaitFor)
|
ControlComputerInterface.SearchForFile |
searchForFile(ControlComputerInterface.FileMatches fileMatches,
ControlComputerInterface.ConfirmationHandler confirmationHandler,
java.lang.Runnable runWhenDone)
This may return null if it's not possible to search for files on this operating system. |
int |
waitForResponse(java.lang.String[] waitFor)
|
boolean |
willSpecialUnixCharactersBeConverted()
On bash and other unix/linux shells, certain characters get changed to do something else besides themselves: - exclamation points get turned into old commands on the command prompt |
Field Detail |
---|
static final int OS_UNKNOWN
static final int WINDOWS
static final int UNIX
static final int NOT_UNIX
static final int UNIX_LINUX
static final int UNIX_MACOSX
static final int UNIX_OTHER
Method Detail |
---|
java.lang.String getHostname()
int getOperatingSystem()
int getUnixVariant()
java.lang.String getOSVersion()
java.lang.String getDirectorySeparator()
java.lang.String getTempDirectory()
boolean willSpecialUnixCharactersBeConverted()
boolean runCommand(java.lang.String line)
boolean runCommand(java.lang.String[] line)
int runCommand(java.lang.String line, java.lang.String[] phrasesToWaitFor)
int runCommand(java.lang.String[] line, java.lang.String[] phrasesToWaitFor)
boolean runCommand(java.lang.String line, boolean waitForFinish)
boolean runCommand(java.lang.String[] line, boolean waitForFinish)
int waitForResponse(java.lang.String[] waitFor)
boolean isStillRunningLastCommand()
void dispose()
void restart()
boolean copyTo(java.io.File[] files, java.lang.String toDir)
java.lang.String getLastErrorMessage()
java.lang.String getAllOutput()
ControlComputerInterface.SearchForFile searchForFile(ControlComputerInterface.FileMatches fileMatches, ControlComputerInterface.ConfirmationHandler confirmationHandler, java.lang.Runnable runWhenDone)
filename
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |