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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGets the destination field name if configured, otherwise the field name itself is returned.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.cxp.ocs.conf.converter.ConfigureableFieldgetFieldName
- 
Field Details- 
FIELD_REPLACEMENT_DESTINATION- See Also:
 
- 
FIELD_WORD_SPLIT_REGEX- See Also:
 
- 
FIELD_WORD_JOIN_SEPARATOR- See Also:
 
 
- 
- 
Constructor Details- 
PatternConfigurationpublic PatternConfiguration()
 
- 
- 
Method Details- 
getDestinationFieldNameGets the destination field name if configured, otherwise the field name itself is returned.- Returns:
- the destination field name.
 
 
-