This project has retired. For details please refer to its
Attic page.
ExecPlugin (Apache Chukwa 0.6.0 API)
-
- All Implemented Interfaces:
- IPlugin
- Direct Known Subclasses:
- ExecHelper, NodeActivityPlugin, PbsNodePlugin
public abstract class ExecPlugin
extends Object
implements IPlugin
Runs external command-line tools, captures output.
Subclasses are responsible for implementing getCmde(), which determines the
command to be invoked.
-
-
Constructor Summary
Constructors
Constructor and Description |
ExecPlugin() |
-
Method Summary
Methods
Modifier and Type |
Method and Description |
org.json.simple.JSONObject |
execute() |
abstract String |
getCmde() |
org.json.simple.JSONObject |
postProcess(org.json.simple.JSONObject execResult) |
void |
stop() |
int |
waitFor() |
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ExecPlugin
public ExecPlugin()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.