org.hyperic.sigar.cmd
Class PTQL
java.lang.Object
org.hyperic.sigar.shell.ShellCommandBase
org.hyperic.sigar.shell.MultiwordShellCommand
org.hyperic.sigar.cmd.PTQL
- All Implemented Interfaces:
- GetlineCompleter, ShellCommandHandler
- public class PTQL
- extends MultiwordShellCommand
- implements GetlineCompleter
Run process table queries.
- See Also:
ProcessQueryBuilder
Method Summary |
java.lang.String |
complete(java.lang.String line)
|
java.lang.String |
getSyntaxArgs()
|
java.lang.String |
getUsageShort()
Get a very brief (40 character) description of the command |
void |
init(java.lang.String commandName,
ShellBase shell)
Initialize this command handler. |
void |
processCommand(java.lang.String[] args)
Handle a command. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PTQL
public PTQL(Shell shell)
complete
public java.lang.String complete(java.lang.String line)
- Specified by:
complete
in interface GetlineCompleter
init
public void init(java.lang.String commandName,
ShellBase shell)
throws ShellCommandInitException
- Description copied from interface:
ShellCommandHandler
- Initialize this command handler.
- Specified by:
init
in interface ShellCommandHandler
- Overrides:
init
in class ShellCommandBase
- Throws:
ShellCommandInitException
getSyntaxArgs
public java.lang.String getSyntaxArgs()
- Overrides:
getSyntaxArgs
in class MultiwordShellCommand
getUsageShort
public java.lang.String getUsageShort()
- Description copied from interface:
ShellCommandHandler
- Get a very brief (40 character) description of the command
- Specified by:
getUsageShort
in interface ShellCommandHandler
- Overrides:
getUsageShort
in class ShellCommandBase
processCommand
public void processCommand(java.lang.String[] args)
throws ShellCommandUsageException,
ShellCommandExecException
- Description copied from interface:
ShellCommandHandler
- Handle a command.
- Specified by:
processCommand
in interface ShellCommandHandler
- Overrides:
processCommand
in class MultiwordShellCommand
- Throws:
ShellCommandUsageException
ShellCommandExecException
Copyright © 2004-2006 Hyperic. All Rights Reserved.