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 d57afd7 at Sun Nov 18 14:29:16 UTC 2018
Copyright © 2011-2015 Philipp C. Heckel