| Modifier and Type | Field and Description |
|---|---|
protected CommandModel |
CLICommand.commandModel
The metadata describing the command's options and operands.
|
| Modifier and Type | Method and Description |
|---|---|
CommandModel |
RemoteRestAdminCommand.getCommandModel()
Get the CommandModel for the command from the server.
|
CommandModel |
RemoteAdminCommand.getCommandModel()
Get the CommandModel for the command from the server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RemoteRestAdminCommand.setCommandModel(CommandModel commandModel)
Set the CommandModel used by this command.
|
void |
RemoteAdminCommand.setCommandModel(CommandModel commandModel)
Set the CommandModel used by this command.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CachedCommandModel
Stores ETeg with command model.
|
class |
CommandModelData
A command and parameter model that allows the data to be supplied directly.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
CachedCommandModel.computeETag(CommandModel cm) |
| Modifier and Type | Method and Description |
|---|---|
void |
CommandModelDataProvider.writeToStreamSimpleFormat(CommandModel cm,
OutputStream stream)
Super simple format possible because there can't be any problematic
symbol like EOL in attributes.
|
| Modifier and Type | Method and Description |
|---|---|
CommandModel |
CommandRunnerImpl.getModel(String commandName,
Logger logger)
Returns the command model for a command name.
|
CommandModel |
CommandRunnerImpl.getModel(String scope,
String commandName,
Logger logger)
Returns the command model for a command name.
|
| Modifier and Type | Method and Description |
|---|---|
BufferedReader |
CommandRunnerImpl.getHelp(CommandModel model) |
static BufferedReader |
CommandRunnerImpl.getManPage(String commandName,
CommandModel model)
Return an InputStream for the man page for the named command.
|
static boolean |
CommandRunnerImpl.injectParameters(CommandModel model,
Object injectionTarget,
org.jvnet.hk2.config.InjectionResolver<Param> injector,
ActionReport report) |
boolean |
CommandRunnerImpl.validateCommandModelETag(CommandModel model,
String eTag) |
| Modifier and Type | Method and Description |
|---|---|
protected CommandModel |
ClientGenerator.getCommandModel(String commandName) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClientClassWriter.generateCommandMethod(String methodName,
String httpMethod,
String resourcePath,
CommandModel cm) |
void |
JavaClientClassWriter.generateCommandMethod(String methodName,
String httpMethod,
String resourcePath,
CommandModel cm) |
String |
ClientClassWriter.generateMethodBody(CommandModel cm,
String httpMethod,
String resourcePath,
boolean includeOptional,
boolean needsMultiPart) |
String |
JavaClientClassWriter.generateMethodBody(CommandModel cm,
String httpMethod,
String resourcePath,
boolean includeOptional,
boolean needsMultiPart) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CommandModelStaxProvider.writeContentToStream(CommandModel proxy,
XMLStreamWriter wr) |
| Modifier and Type | Method and Description |
|---|---|
static String |
Util.getMethodParameterList(CommandModel cm,
boolean withType,
boolean includeOptional) |
| Modifier and Type | Method and Description |
|---|---|
WrappedAdminCommand |
AsyncImpl.createWrapper(Async async,
CommandModel model,
AdminCommand command,
ActionReport report) |
| Modifier and Type | Method and Description |
|---|---|
CommandModel |
CommandModelProvider.getModel() |
CommandModel |
CommandRunner.getModel(String name,
Logger logger)
Returns the command model for a command name for the null scope
|
CommandModel |
CommandRunner.getModel(String scope,
String name,
Logger logger)
Returns the command model for a command name
|
| Modifier and Type | Method and Description |
|---|---|
AdminCommand |
CommandAspectBase.createWrapper(T ann,
CommandModel model,
AdminCommand command,
ActionReport report)
This methods can be used to wrap generic functionality around command execute.
|
AdminCommand |
CommandAspectImpl.createWrapper(T ann,
CommandModel model,
AdminCommand command,
ActionReport report)
This methods can be used to wrap generic functionality around command execute.
|
static AdminCommand |
CommandSupport.createWrappers(org.glassfish.hk2.api.ServiceLocator serviceLocator,
CommandModel model,
AdminCommand command,
ActionReport report)
Execute wrapping aspects, see
AsyncImpl for example. |
BufferedReader |
CommandRunner.getHelp(CommandModel model)
Returns manpage for the command.
|
boolean |
CommandRunner.validateCommandModelETag(CommandModel model,
String eTag)
Checks if given command model eTag is equal to current command model eTag
|
| Modifier and Type | Class and Description |
|---|---|
class |
CommandModelImpl
Model for an administrative command
|
class |
GenericCommandModel |
| Constructor and Description |
|---|
MapInjectionResolver(CommandModel model,
ParameterMap parameters) |
MapInjectionResolver(CommandModel model,
ParameterMap parameters,
org.jvnet.hk2.component.MultiMap<String,File> optionNameToUploadedFileMap) |
| Modifier and Type | Method and Description |
|---|---|
CommandModel |
GenericListCommand.getModel() |
CommandModel |
GenericDeleteCommand.getModel() |
CommandModel |
GenericCreateCommand.getModel() |
Copyright © 2017. All rights reserved.