Package org.opennms.netmgt.notifd
Class ServiceRegistryExecutor
- java.lang.Object
-
- org.opennms.netmgt.notifd.ServiceRegistryExecutor
-
- All Implemented Interfaces:
ExecutorStrategy
public class ServiceRegistryExecutor extends Object implements ExecutorStrategy
-
-
Constructor Summary
Constructors Constructor Description ServiceRegistryExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
execute(String filter, List<Argument> arguments)
Implement this method to support execute style commands such as a system command or to instantiate a Java class.
-
-
-
Method Detail
-
execute
public int execute(String filter, List<Argument> arguments)
Description copied from interface:ExecutorStrategy
Implement this method to support execute style commands such as a system command or to instantiate a Java class.- Specified by:
execute
in interfaceExecutorStrategy
- Parameters:
filter
- the command/class to execute/instantiatearguments
- a list of Argument objects that need to be passed to the command line call or the class execute method- Returns:
- int, the return code of the command/execute method
-
-