Package de.cxp.ocs.conf.converter
Class PatternConfiguration
java.lang.Object
de.cxp.ocs.conf.converter.PatternConfiguration
- All Implemented Interfaces:
ConfigureableField
- Direct Known Subclasses:
PatternWithReplacementConfiguration
ConfigureableField
implementations that holds all information needed
by the RemoveValuesDataProcessor
. The configuration allows:
configuration:
RemoveValuesDataProcessor:
someFieldName: ".*\\d+.*"
someFieldName_destination: "someDestinationField"
# Optional configuration:
# RegEx used to split the value into chunks, \\s+ if omitted
someFieldName_wordSplitRegEx: "/"
# join character used when combining splitted cleared chunks, default space " "
someFieldName_wordJoinSeparator: "/"
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the destination field name if configured, otherwise the field name itself is returned.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.cxp.ocs.conf.converter.ConfigureableField
getFieldName
-
Field Details
-
FIELD_REPLACEMENT_DESTINATION
- See Also:
-
FIELD_WORD_SPLIT_REGEX
- See Also:
-
FIELD_WORD_JOIN_SEPARATOR
- See Also:
-
-
Constructor Details
-
PatternConfiguration
public PatternConfiguration()
-
-
Method Details
-
getDestinationFieldName
Gets the destination field name if configured, otherwise the field name itself is returned.- Returns:
- the destination field name.
-