org.glassfish.common.util.admin
Class CommandModelImpl
java.lang.Object
org.glassfish.api.admin.CommandModel
org.glassfish.common.util.admin.CommandModelImpl
public class CommandModelImpl
- extends CommandModel
Model for an administrative command
- Author:
- Jerome Dochez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandModelImpl
public CommandModelImpl(Class<?> commandType)
init
public static Map<String,CommandModel.ParamModel> init(Class commandType,
I18n i18n,
LocalStringManager localStrings)
getLocalizedDescription
public String getLocalizedDescription()
- Specified by:
getLocalizedDescription in class CommandModel
getUsageText
public String getUsageText()
- Specified by:
getUsageText in class CommandModel
getCommandName
public String getCommandName()
- Specified by:
getCommandName in class CommandModel
getModelFor
public CommandModel.ParamModel getModelFor(String paramName)
- Specified by:
getModelFor in class CommandModel
getParametersNames
public Collection<String> getParametersNames()
- Specified by:
getParametersNames in class CommandModel
getCommandClass
public Class<?> getCommandClass()
- Specified by:
getCommandClass in class CommandModel
getClusteringAttributes
public ExecuteOn getClusteringAttributes()
- Specified by:
getClusteringAttributes in class CommandModel
unknownOptionsAreOperands
public boolean unknownOptionsAreOperands()
- Should an unknown option be considered an operand by asadmin?
- Overrides:
unknownOptionsAreOperands in class CommandModel
Copyright © 2012 GlassFish Community. All Rights Reserved.