当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 console API Documentation 英文版文档
AbstractCommand (JBoss Console API) - JBoss 4.0.1 sp1 console API Documentation 英文版文档
org.jboss.console.twiddle.command
Class AbstractCommand
java.lang.Object
org.jboss.console.twiddle.command.AbstractCommand
- All Implemented Interfaces:
- Cloneable, Command
- Direct Known Subclasses:
- MBeanServerCommand
- public abstract class AbstractCommand
- extends Object
- implements Command
An abstract command.
- Version:
- $Revision: 1.6 $
- Author:
- Jason Dillon, Scott.Stark@jboss.org
log
protected org.jboss.logging.Logger log
desc
protected final String desc
name
protected final String name
context
protected CommandContext context
AbstractCommand
protected AbstractCommand(String name,
String desc)
getName
public String getName()
- Specified by:
getName
in interface Command
getDescription
public String getDescription()
- Specified by:
getDescription
in interface Command
setCommandContext
public void setCommandContext(CommandContext context)
- Specified by:
setCommandContext
in interface Command
unsetCommandContext
public void unsetCommandContext()
- Specified by:
unsetCommandContext
in interface Command
clone
public Object clone()
- Return a cloned copy of this command.
- Specified by:
clone
in interface Command
- Returns:
- Cloned command.
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.