public class Activator extends Object implements org.osgi.framework.BundleActivator
| Modifier and Type | Field and Description |
|---|---|
static String |
ITEM_TYPE_CONTACT |
static String |
ITEM_TYPE_DIMMER |
static String |
ITEM_TYPE_NUMBER |
static String |
ITEM_TYPE_SHUTTER |
static String |
ITEM_TYPE_SWITCH |
static String |
NAMESPACE |
| Constructor and Description |
|---|
Activator() |
| Modifier and Type | Method and Description |
|---|---|
static ModuleContext |
getModuleContext() |
static org.eclipse.smarthome.core.items.ItemRegistry |
getOpenhab() |
static org.osgi.framework.BundleContext |
getOsgiContext() |
static org.eclipse.smarthome.core.events.EventPublisher |
getPub() |
static HashMap<String,GenericDevice> |
getSetOfDevices() |
static void |
logD(String method,
String log) |
String |
readSubType(org.eclipse.smarthome.core.items.Item item) |
void |
start(org.osgi.framework.BundleContext bcontext) |
void |
stop(org.osgi.framework.BundleContext arg0) |
public static final String ITEM_TYPE_CONTACT
public static final String ITEM_TYPE_DIMMER
public static final String ITEM_TYPE_NUMBER
public static final String ITEM_TYPE_SHUTTER
public static final String ITEM_TYPE_SWITCH
public static final String NAMESPACE
public void start(org.osgi.framework.BundleContext bcontext)
throws Exception
start in interface org.osgi.framework.BundleActivatorExceptionpublic void stop(org.osgi.framework.BundleContext arg0)
throws Exception
stop in interface org.osgi.framework.BundleActivatorExceptionpublic static org.osgi.framework.BundleContext getOsgiContext()
public static ModuleContext getModuleContext()
public static org.eclipse.smarthome.core.items.ItemRegistry getOpenhab()
public static org.eclipse.smarthome.core.events.EventPublisher getPub()
public static HashMap<String,GenericDevice> getSetOfDevices()
public String readSubType(org.eclipse.smarthome.core.items.Item item)
Copyright © 2018 universAAL Consortium. All rights reserved.