public class RegexMentionsExtractor extends AbstractRegexExtensionExtractor<Map<String,Object>> implements StreamsProcessor
Activity object to extract the @user mentions and add
them to the appropriate extensions object| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PATTERN |
static String |
DISPLAY_KEY |
static String |
EXTENSION_KEY |
static String |
PATTERN_CONFIG_KEY |
| Constructor and Description |
|---|
RegexMentionsExtractor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
protected Map<String,Object> |
prepareObject(String extracted)
Configures the value to be persisted to the extensions object.
|
cleanUp, ensureTargetObject, getPattern, prepare, processclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocesscleanUp, preparepublic static final String DEFAULT_PATTERN
public static final String PATTERN_CONFIG_KEY
public static final String EXTENSION_KEY
public static final String DISPLAY_KEY
public String getId()
getId in interface StreamsOperationprotected Map<String,Object> prepareObject(String extracted)
AbstractRegexExtensionExtractorprepareObject in class AbstractRegexExtensionExtractor<Map<String,Object>>extracted - the value extracted by the regexCopyright © 2018 The Apache Software Foundation. All rights reserved.