public class CommandFactory extends java.lang.Object
|Constructor and Description|
|Modifier and Type||Method and Description|
Maps the given command name to a corresponding
public static Command getInstance(java.lang.String commandName)
Commandclass and instantiates it. The command name is camel-cased and mapped to a FQCN.
Example: The command 'ls-remote' is mapped to the FQCN org.syncany.cli.LsRemoteCommand.
commandName- Command name, e.g. ls-remote or init
Syncany is an open-source cloud storage and filesharing application.
Code located at https://github.com/syncany/syncany
JavaDoc for version 0.4.9-alpha generated based on commit f99e526 at Sun Apr 02 08:27:54 UTC 2017
Copyright © 2011-2015 Philipp C. Heckel