frysk.util
Class ProcStopUtil

java.lang.Object
  extended by 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.


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

ProcStopUtil

public ProcStopUtil(String utilName,
                    String[] args,
                    ProcEvent procEvent,
                    OptionGroup[] utilOptionGroups)

ProcStopUtil

public ProcStopUtil(String utilName,
                    String[] args,
                    ProcEvent procEvent)
Method Detail

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()