public interface ActivityStreamProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_STREAM_NAME |
static java.lang.String |
PROP_BASE_PATH_NAME
OSGi configuration for activity stream path name
|
static java.lang.String |
PROP_STREAM_NAME
OSGi configuration for stream name
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Activity activity)
Check if the target activity stream provider accepts the new event and correspondent activity
|
<T> void |
append(Activity activity)
Appends a new activity to this stream.
|
java.util.List<ActivityStreamProviderExtension> |
getExtensions()
Get the list of extensions for this provider.
|
static final java.lang.String DEFAULT_STREAM_NAME
static final java.lang.String PROP_BASE_PATH_NAME
static final java.lang.String PROP_STREAM_NAME
boolean accept(Activity activity)
activity
- Activity<T> void append(Activity activity) throws ActivityException
T
- typeactivity
- the activity to write.ActivityException
- if an error occurs.java.util.List<ActivityStreamProviderExtension> getExtensions()
Copyright © 2010 - 2020 Adobe. All Rights Reserved