Interface Assembly.Transformer<T,O>

Type Parameters:
T - The instance type.
O - The options type.
Enclosing class:
Assembly<I,T,O>

public static interface Assembly.Transformer<T,O>
One transformer/handler in a line. Responsible for transforming the instance and potentially returning a new one.
  • Method Summary

    Modifier and Type
    Method
    Description
    transform(T in, O options)
    Transforms the given instance, may either return the instance back or an entirely new instance.
  • Method Details

    • transform

      T transform(T in, O options)
      Transforms the given instance, may either return the instance back or an entirely new instance.
      Parameters:
      in - The input instance.
      options - The options.
      Returns:
      The output instance, will be the same as in in most cases.