|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.notifd.CommandExecutor
public class 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<org.opennms.core.utils.Argument> 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<org.opennms.core.utils.Argument> arguments)
execute in interface ExecutorStrategycommandLine - the command to execute as a command line callarguments - a list of Argument objects that need to be passed to the
command line call
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||