frysk.util
Class ProcStopUtil
java.lang.Object
frysk.util.ProcStopUtil
public class ProcStopUtil
- extends Object
Framework to be used for frysk utilities that,
a) Accept pids, executable paths, core files &
b) Require tasks to be stopped,
Utilities must define a event.ProcEvent to execute.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fine
private static final Log fine
args
private String[] args
parser
private CommandlineParser parser
ProcStopUtil
public ProcStopUtil(String utilName,
String[] args,
ProcEvent procEvent,
OptionGroup[] utilOptionGroups)
ProcStopUtil
public ProcStopUtil(String utilName,
String[] args,
ProcEvent procEvent)
setUsage
public void setUsage(String usage)
- Use to set the usage of utility.
- Parameters:
usage
- - String that describes the usage of
tool.
execute
public void execute()