public class SegmentIOComponent extends DefaultComponent implements SegmentIO
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_EP |
static String |
FILTERS_EP |
static String |
MAPPER_EP |
static String |
PROVIDER_EP |
static String |
WRITE_KEY |
| Constructor and Description |
|---|
SegmentIOComponent() |
getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, unregisterContribution, unregisterExtensionpublic static final String WRITE_KEY
public static final String CONFIG_EP
public static final String MAPPER_EP
public static final String PROVIDER_EP
public static final String FILTERS_EP
public org.osgi.framework.Bundle getBundle()
public void activate(ComponentContext context)
ComponentThis method is called by the runtime when a component is activated.
activate in interface Componentactivate in class DefaultComponentcontext - the runtime contextpublic void deactivate(ComponentContext context)
ComponentThis method is called by the runtime when a component is deactivated.
deactivate in interface Componentdeactivate in class DefaultComponentcontext - the runtime contextpublic void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution in class DefaultComponentpublic void applicationStarted(ComponentContext context)
ComponentapplicationStarted in interface ComponentapplicationStarted in class DefaultComponentpublic String getWriteKey()
getWriteKey in interface SegmentIOpublic Map<String,String> getGlobalParameters()
getGlobalParameters in interface SegmentIOpublic void identify(NuxeoPrincipal principal)
public com.github.segmentio.models.Providers getProviders()
getProviders in interface SegmentIOpublic void identify(NuxeoPrincipal principal, Map<String,Serializable> metadata)
public void track(NuxeoPrincipal principal, String eventName)
public void track(NuxeoPrincipal principal, String eventName, Map<String,Serializable> metadata)
public Map<String,List<SegmentIOMapper>> getAllMappers()
public SegmentIOUserFilter getUserFilters()
getUserFilters in interface SegmentIOCopyright © 2015 Nuxeo SA. All rights reserved.