Class PatternConfiguration

java.lang.Object
de.cxp.ocs.conf.converter.PatternConfiguration
All Implemented Interfaces:
ConfigureableField
Direct Known Subclasses:
PatternWithReplacementConfiguration

public class PatternConfiguration extends Object implements ConfigureableField
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 Details

  • Constructor Details

    • PatternConfiguration

      public PatternConfiguration()
  • Method Details

    • getDestinationFieldName

      public String getDestinationFieldName()
      Gets the destination field name if configured, otherwise the field name itself is returned.
      Returns:
      the destination field name.