FileDocCategorySizeDatePackage
ICommand.javaAPI DocGlassfish v2 API2841Fri May 04 22:25:20 BST 2007com.sun.enterprise.cli.framework

ICommand

public interface ICommand
The interface class for command objects
version
$Revision: 1.4 $

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetName()
Returns the name of the command

public java.lang.ObjectgetProperty(java.lang.String key)
Searches for the property with the specified key in this properties list

return
the property

public java.lang.StringgetUsageText()
Get Usage Text from the command

public voidsetName(java.lang.String name)
Sets the name of this command

public voidsetProperty(java.lang.String key, java.lang.Object value)
Sets the properties of the command

param
key
param
value

public voidsetUsageText(java.lang.String usageText)
Set Usage Text for the command