public class RegexUrlExtractor extends AbstractRegexExtensionExtractor<String> implements StreamsProcessor
Activity
object to extract the URLs and add
them to the appropriate extensions objectModifier 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, process
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
process
cleanUp, prepare
public static final String DEFAULT_PATTERN
public static final String PATTERN_CONFIG_KEY
public String getId()
getId
in interface StreamsOperation
protected String prepareObject(String extracted)
AbstractRegexExtensionExtractor
prepareObject
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.