Package com.norconex.commons.lang.flow

# Class FlowPolymorphicType<T>

java.lang.Object
com.norconex.commons.lang.flow.FlowPolymorphicType<T>

public class FlowPolymorphicType<T> extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FlowPolymorphicType()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected boolean`
  `canEqual(Object other)`
  `boolean`
  `equals(Object o)`
  `Class<? extends T>`
  `getAdapterType()`
  `Class<?>`
  `getBaseType()`
  `Predicate<String>`
  `getScanFilter()`
  `int`
  `hashCode()`
  `FlowPolymorphicType<T>`
  `setAdapterType(Class<? extends T> adapterType)`
  `FlowPolymorphicType<T>`
  `setBaseType(Class<?> baseType)`
  `FlowPolymorphicType<T>`
  `setScanFilter(Predicate<String> scanFilter)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### FlowPolymorphicType

    public FlowPolymorphicType()

- ## Method Details

  - ### getBaseType

    public Class<?> getBaseType()

  - ### getAdapterType

    public Class<? extends T> getAdapterType()

  - ### getScanFilter

    public Predicate<String> getScanFilter()

  - ### setBaseType

    public FlowPolymorphicType<T> setBaseType(Class<?> baseType)
    Returns:
      `this`.

  - ### setAdapterType

    public FlowPolymorphicType<T> setAdapterType(Class<? extends T> adapterType)
    Returns:
      `this`.

  - ### setScanFilter

    public FlowPolymorphicType<T> setScanFilter(Predicate<String> scanFilter)
    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`