Class RenameOperation

java.lang.Object
com.norconex.importer.handler.transformer.impl.RenameOperation

public class RenameOperation extends Object
  • Constructor Details

    • RenameOperation

      public RenameOperation()
  • Method Details

    • getFieldMatcher

      public TextMatcher getFieldMatcher()
      Gets source field matcher for fields to rename to the value of "toField".
      Returns:
      field matcher
    • setFieldMatcher

      public RenameOperation setFieldMatcher(TextMatcher fieldMatcher)
      Sets source field matcher for fields to rename to the value of "toField".
      Parameters:
      fieldMatcher - field matcher
      Returns:
      this instance
    • getToField

      public String getToField()
    • getOnSet

      public PropertySetter getOnSet()
    • setToField

      public RenameOperation setToField(String toField)
      Returns:
      this.
    • setOnSet

      public RenameOperation setOnSet(PropertySetter onSet)
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object