@Plugin(name="LSST Rest Plugin", id="rest", description="Plugin that handles connection to the REST server.") public class LsstRestPlugin extends ConsolePlugin
| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECT_ON_STARTUP_PROPERTY |
static String |
PORT_PROPERTY |
static String |
SERVER_PROPERTY |
| Constructor and Description |
|---|
LsstRestPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize()
Called by the framework when the console starts, to initialize this plugin..
|
void |
propertiesChanged(Object source,
Map<String,Object> changes)
Called by the framework when plugin properties are modified.
|
void |
refreshConnection() |
void |
start()
Called by the framework when the console starts, after all plugins have been initialized.
|
getConsole, getServices, restore, save, setServicesProvider, shutdown, stoppublic static final String SERVER_PROPERTY
public static final String PORT_PROPERTY
public static final String CONNECT_ON_STARTUP_PROPERTY
public void initialize()
ConsolePlugininitialize in class ConsolePluginpublic void start()
ConsolePluginstart in class ConsolePluginpublic void propertiesChanged(Object source, Map<String,Object> changes)
ConsolePluginpropertiesChanged in class ConsolePluginsource - Source of notification.changes - For the changed properties, map of keys to their new values.public void refreshConnection()
Copyright © 2018 LSST. All rights reserved.