Class UpdateCommand
- java.lang.Object
-
- org.aesh.command.map.MapCommand<PmCommandInvocation>
-
- org.jboss.galleon.cli.cmd.AbstractDynamicCommand
-
- org.jboss.galleon.cli.cmd.plugin.AbstractProvisionWithPlugins
-
- org.jboss.galleon.cli.cmd.maingrp.UpdateCommand
-
- All Implemented Interfaces:
org.aesh.command.Command<PmCommandInvocation>,CommandWithInstallationDirectory
public class UpdateCommand extends AbstractProvisionWithPlugins
- Author:
- jdenise@redhat.com
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.galleon.cli.cmd.AbstractDynamicCommand
AbstractDynamicCommand.DynamicOption
-
-
Field Summary
-
Fields inherited from class org.jboss.galleon.cli.cmd.plugin.AbstractProvisionWithPlugins
DIR_OPTION_NAME, VERBOSE_OPTION_NAME
-
Fields inherited from class org.jboss.galleon.cli.cmd.AbstractDynamicCommand
ARGUMENT_NAME, pmSession
-
-
Constructor Summary
Constructors Constructor Description UpdateCommand(PmSession pmSession)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoRunCommand(PmCommandInvocation session, java.util.Map<java.lang.String,java.lang.String> options)protected voiddoValidateOptions(PmCommandInvocation invoc)protected PmCommandActivatorgetActivator()protected java.lang.StringgetDescription()CommandDomaingetDomain()protected java.util.List<AbstractDynamicCommand.DynamicOption>getDynamicOptions(State state)protected java.lang.StringgetName()protected java.util.List<org.aesh.command.impl.internal.ProcessedOption>getOtherOptions()-
Methods inherited from class org.jboss.galleon.cli.cmd.plugin.AbstractProvisionWithPlugins
canComplete, getAbsolutePath, getInstallationDirectory, getManager, getStaticOptions, isVerbose, runCommand
-
Methods inherited from class org.jboss.galleon.cli.cmd.AbstractDynamicCommand
checkForRequiredOptions, createCommand, execute, getArgumentsValues, getArgumentValue, getOptionValue
-
-
-
-
Constructor Detail
-
UpdateCommand
public UpdateCommand(PmSession pmSession)
-
-
Method Detail
-
getOtherOptions
protected java.util.List<org.aesh.command.impl.internal.ProcessedOption> getOtherOptions() throws org.aesh.command.parser.OptionParserException- Specified by:
getOtherOptionsin classAbstractProvisionWithPlugins- Throws:
org.aesh.command.parser.OptionParserException
-
doValidateOptions
protected void doValidateOptions(PmCommandInvocation invoc) throws CommandExecutionException
- Specified by:
doValidateOptionsin classAbstractDynamicCommand- Throws:
CommandExecutionException
-
getDynamicOptions
protected java.util.List<AbstractDynamicCommand.DynamicOption> getDynamicOptions(State state) throws java.lang.Exception
- Specified by:
getDynamicOptionsin classAbstractDynamicCommand- Throws:
java.lang.Exception
-
doRunCommand
protected void doRunCommand(PmCommandInvocation session, java.util.Map<java.lang.String,java.lang.String> options) throws CommandExecutionException
- Specified by:
doRunCommandin classAbstractProvisionWithPlugins- Throws:
CommandExecutionException
-
getName
protected java.lang.String getName()
- Specified by:
getNamein classAbstractDynamicCommand
-
getDescription
protected java.lang.String getDescription()
- Specified by:
getDescriptionin classAbstractDynamicCommand
-
getDomain
public CommandDomain getDomain()
- Specified by:
getDomainin classAbstractDynamicCommand
-
getActivator
protected PmCommandActivator getActivator()
- Overrides:
getActivatorin classAbstractProvisionWithPlugins
-
-