|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.util.ProcStopUtil
public class ProcStopUtil
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.
Constructor Summary | |
---|---|
ProcStopUtil(String utilName,
String[] args,
ProcEvent procEvent)
|
|
ProcStopUtil(String utilName,
String[] args,
ProcEvent procEvent,
OptionGroup[] utilOptionGroups)
|
Method Summary | |
---|---|
void |
execute()
|
void |
setUsage(String usage)
Use to set the usage of utility. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProcStopUtil(String utilName, String[] args, ProcEvent procEvent, OptionGroup[] utilOptionGroups)
public ProcStopUtil(String utilName, String[] args, ProcEvent procEvent)
Method Detail |
---|
public void setUsage(String usage)
usage
- - String that describes the usage of
tool.public void execute()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |