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 f2749f7 at Thu Feb 16 08:16:44 UTC 2017
Copyright © 2011-2015 Philipp C. Heckel