Interface MediatorConfigurationSupport.GenericTypeAssignable

All Known Implementing Classes:
DefaultMediatorConfiguration.AlwaysInvalidIndexGenericTypeAssignable, DefaultMediatorConfiguration.MethodParamGenericTypeAssignable, DefaultMediatorConfiguration.ReturnTypeGenericTypeAssignable
Enclosing class:
MediatorConfigurationSupport

public static interface MediatorConfigurationSupport.GenericTypeAssignable
  • Method Details

    • check

    • getType

      Type getType(int index)
      Gets the underlying type. For example, on a Message<X>, it returns X.
      Parameters:
      index - the index of the type
      Returns:
      the type, null if not set or wildcard
    • getType

      Type getType(int index, int subIndex)
      Gets the underlying sub-type. For example, on a Publisher<Message<X>>, it returns X.
      Parameters:
      index - the index of the type
      subIndex - the second index
      Returns:
      the type, null if not set or wildcard