|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.inria.myriads.snoozenode.executor.ShellCommandExecuter
public final class ShellCommandExecuter
Shell command executer.
Constructor Summary | |
---|---|
ShellCommandExecuter(int timeout)
Shell command executir. |
Method Summary | |
---|---|
boolean |
execute(String command)
Execute shell command. |
void |
onCommandExecuted(boolean result)
Called upon command execution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShellCommandExecuter(int timeout)
timeout
- The timeoutMethod Detail |
---|
public boolean execute(String command)
command
- The command to execute
public void onCommandExecuted(boolean result)
onCommandExecuted
in interface ExecutorListener
result
- The result
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |