|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.core.utils.CommandExecutor
This is a class to store and execute a console command
Constructor Summary | |
CommandExecutor()
|
Method Summary | |
int |
execute(java.lang.String commandLine,
java.util.List arguments)
This method executes the command using a Process. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CommandExecutor()
Method Detail |
public int execute(java.lang.String commandLine, java.util.List arguments)
execute
in interface ExecutorStrategy
commandLine
- the command to execute as a command line callarguments
- a list of Argument objects that need to be passed to the
command line call
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |