Class DownloadFileCommand
- java.lang.Object
- 
- jadex.platform.service.cli.ACliCommand
- 
- jadex.platform.service.cli.commands.DownloadFileCommand
 
 
- 
- All Implemented Interfaces:
- ICliCommand
 
 public class DownloadFileCommand extends ACliCommand Command to download a file.
- 
- 
Constructor SummaryConstructors Constructor Description DownloadFileCommand()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ArgumentInfo[]getArgumentInfos(CliContext context)Get the argument infos.protected IFuture<IFileTransferService>getDeploymentService(IInternalAccess ia, IComponentIdentifier cid)Get the deployment service.java.lang.StringgetDescription()Get the command description.java.lang.StringgetExampleUsage()Get example usage(s).java.lang.String[]getNames()Get the command names (name including alias').ResultInfogetResultInfo(CliContext context, java.util.Map<java.lang.String,java.lang.Object> args)Get the result info.java.lang.ObjectinvokeCommand(CliContext context, java.util.Map<java.lang.String,java.lang.Object> args)Invoke the command.- 
Methods inherited from class jadex.platform.service.cli.ACliCommandinvokeCommand
 
- 
 
- 
- 
- 
Method Detail- 
getNamespublic java.lang.String[] getNames() Get the command names (name including alias').- Specified by:
- getNamesin interface- ICliCommand
- Specified by:
- getNamesin class- ACliCommand
- Returns:
- A string array of the command name and optional further alias names.
 
 - 
getDescriptionpublic java.lang.String getDescription() Get the command description.- Specified by:
- getDescriptionin interface- ICliCommand
- Overrides:
- getDescriptionin class- ACliCommand
- Returns:
- The command description.
 
 - 
getExampleUsagepublic java.lang.String getExampleUsage() Get example usage(s).- Specified by:
- getExampleUsagein interface- ICliCommand
- Overrides:
- getExampleUsagein class- ACliCommand
- Returns:
- Example usages.
 
 - 
invokeCommandpublic java.lang.Object invokeCommand(CliContext context, java.util.Map<java.lang.String,java.lang.Object> args) Invoke the command.- Specified by:
- invokeCommandin interface- ICliCommand
- Specified by:
- invokeCommandin class- ACliCommand
- Parameters:
- context- The context.
- args- The arguments.
 
 - 
getDeploymentServiceprotected IFuture<IFileTransferService> getDeploymentService(IInternalAccess ia, IComponentIdentifier cid) Get the deployment service.
 - 
getArgumentInfospublic ArgumentInfo[] getArgumentInfos(CliContext context) Get the argument infos.- Specified by:
- getArgumentInfosin interface- ICliCommand
- Overrides:
- getArgumentInfosin class- ACliCommand
- Parameters:
- context- The context.
- Returns:
- The argument infos.
 
 - 
getResultInfopublic ResultInfo getResultInfo(CliContext context, java.util.Map<java.lang.String,java.lang.Object> args) Get the result info.- Specified by:
- getResultInfoin interface- ICliCommand
- Overrides:
- getResultInfoin class- ACliCommand
- Parameters:
- context- The context.
- Returns:
- The result info.
 
 
- 
 
-