public class RegexUrlExtractor extends AbstractRegexExtensionExtractor<String> implements StreamsProcessor
Activity object to extract the URLs and add
them to the appropriate extensions object| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PATTERN |
static String |
PATTERN_CONFIG_KEY |
| Constructor and Description |
|---|
RegexUrlExtractor() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<String> |
ensureTargetObject(Activity activity) |
String |
getId() |
protected String |
prepareObject(String extracted)
Configures the value to be persisted to the extensions object.
|
cleanUp, 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 String getId()
getId in interface StreamsOperationprotected String prepareObject(String extracted)
AbstractRegexExtensionExtractorprepareObject in class AbstractRegexExtensionExtractor<String>extracted - the value extracted by the regexprotected Collection<String> ensureTargetObject(Activity activity)
ensureTargetObject in class AbstractRegexExtensionExtractor<String>Copyright © 2018 The Apache Software Foundation. All rights reserved.