Class ReflectiveModelExecutor.SupportedModelInfo<T extends ReflectiveModel<T>>

  • Type Parameters:
    T - recursive generic type of the model.
    Enclosing class:
    ReflectiveModelExecutor

    public static final class ReflectiveModelExecutor.SupportedModelInfo<T extends ReflectiveModel<T>>
    extends java.lang.Object
    Information provided by an executor to communicate which classes it supports.
    • Constructor Summary

      Constructors 
      Constructor Description
      SupportedModelInfo​(java.lang.Class<T> modelClass, boolean supportsFullInheritance)  
    • Constructor Detail

      • SupportedModelInfo

        public SupportedModelInfo​(java.lang.Class<T> modelClass,
                                  boolean supportsFullInheritance)
        Parameters:
        modelClass - a clazz of a model.
        supportsFullInheritance - whether the executor should support classes implementing the modeled class. "Full" support for inheritance means all methods, regardless of the fact they override the modeled method or not.
    • Method Detail

      • getModelClass

        public java.lang.Class<T> getModelClass()
      • isSupportsFullInheritance

        public boolean isSupportsFullInheritance()