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 2ab2a6f at Thu May 25 10:14:24 UTC 2017
Copyright © 2011-2015 Philipp C. Heckel