com.sun.enterprise.admin.util
Class CommandModelData

java.lang.Object
  extended by org.glassfish.api.admin.CommandModel
      extended by com.sun.enterprise.admin.util.CommandModelData

public class CommandModelData
extends CommandModel

A command and parameter model that allows the data to be supplied directly.

Author:
Jerome Dochez, Bill Shannon

Nested Class Summary
static class CommandModelData.ParamData
          A Param annotation simulated with data.
static class CommandModelData.ParamModelData
          A parameter model that's just data.
 
Nested classes/interfaces inherited from class org.glassfish.api.admin.CommandModel
CommandModel.ParamModel
 
Field Summary
 boolean dashOk
           
 
Constructor Summary
CommandModelData(String name)
           
 
Method Summary
 void add(CommandModel.ParamModel model)
          Add the ParamModel to this CommandModel.
 ExecuteOn getClusteringAttributes()
           
 Class getCommandClass()
           
 String getCommandName()
           
 String getLocalizedDescription()
           
 CommandModel.ParamModel getModelFor(String paramName)
           
 Collection<String> getParametersNames()
           
 String getUsageText()
           
 boolean unknownOptionsAreOperands()
          Should an unknown option be considered an operand by asadmin?
 
Methods inherited from class org.glassfish.api.admin.CommandModel
getParameters, getParamName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dashOk

public boolean dashOk
Constructor Detail

CommandModelData

public CommandModelData(String name)
Method Detail

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

add

public void add(CommandModel.ParamModel model)
Add the ParamModel to this CommandModel.



Copyright © 2012 GlassFish Community. All Rights Reserved.