public class PluginCommandInfoSource extends Object implements CommandInfoSource
$THERMOSTAT_HOME/plugins/
and
provides information about all commands specified by them.
Each plugin is located under
$THERMOSTAT_HOME/plugins/$PLUGIN_NAME/
and must have a
plugin.xml
file in the main plugin directory.
how the plugin.xml file is parsed
Constructor and Description |
---|
PluginCommandInfoSource(String internalJarRoot,
String pluginRootDir) |
Modifier and Type | Method and Description |
---|---|
CommandInfo |
getCommandInfo(String name) |
Collection<CommandInfo> |
getCommandInfos() |
public CommandInfo getCommandInfo(String name) throws CommandInfoNotFoundException
getCommandInfo
in interface CommandInfoSource
CommandInfoNotFoundException
public Collection<CommandInfo> getCommandInfos()
getCommandInfos
in interface CommandInfoSource
Copyright © 2013. All rights reserved.