org.glassfish.common.util.admin
Class GenericCommandModel
java.lang.Object
org.glassfish.api.admin.CommandModel
org.glassfish.common.util.admin.GenericCommandModel
public class GenericCommandModel
- extends CommandModel
|
Constructor Summary |
GenericCommandModel(java.lang.Class<?> targetType,
boolean useAnnotations,
ExecuteOn cluster,
I18n i18n,
LocalStringManager localStrings,
org.jvnet.hk2.config.DomDocument document,
java.lang.String commandName,
java.lang.Class<?>... extraTypes)
GenericCommandModel constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericCommandModel
public GenericCommandModel(java.lang.Class<?> targetType,
boolean useAnnotations,
ExecuteOn cluster,
I18n i18n,
LocalStringManager localStrings,
org.jvnet.hk2.config.DomDocument document,
java.lang.String commandName,
java.lang.Class<?>... extraTypes)
- GenericCommandModel constructor.
- Parameters:
targetType - the ConfigBeanProxy class that may have
additional @Param annotations for the command,useAnnotations - if true, use the annotations on the targetType
class to define the parameterscluster - the @ExecuteOn annotation, if anyi18n - the @I18n annotation, if anylocalStrings - where to find strings for the commanddocument - the DomDocument for the commandcommandName - the name of the commandextraTypes - any extra types that might also define
parameters for the command
getLocalizedDescription
public java.lang.String getLocalizedDescription()
- Specified by:
getLocalizedDescription in class CommandModel
getUsageText
public java.lang.String getUsageText()
- Specified by:
getUsageText in class CommandModel
getCommandName
public java.lang.String getCommandName()
- Specified by:
getCommandName in class CommandModel
getModelFor
public CommandModel.ParamModel getModelFor(java.lang.String paramName)
- Specified by:
getModelFor in class CommandModel
getParametersNames
public java.util.Collection<java.lang.String> getParametersNames()
- Specified by:
getParametersNames in class CommandModel
getCommandClass
public java.lang.Class<?> getCommandClass()
- Specified by:
getCommandClass in class CommandModel
getClusteringAttributes
public ExecuteOn getClusteringAttributes()
- Specified by:
getClusteringAttributes in class CommandModel
Copyright © 2012 GlassFish Community. All Rights Reserved.