Class DocumentHandlerTopics

java.lang.Object
io.fluxzero.sdk.tracking.handling.DocumentHandlerTopics

public final class DocumentHandlerTopics extends Object
Resolves the source, scope and document topic of a HandleDocument handler.
  • Method Details

    • graphType

      public static Class<?> graphType(HandleDocument annotation, Executable executable)
      Infers the one concrete Graph root, independently of context-parameter order.
    • modelSourceType

      public static Class<?> modelSourceType(HandleDocument annotation, Executable executable)
      Identifies canonical Model documents for single-state deserialization and guarded schema rewriting.
    • resolve

      public static String resolve(HandleDocument annotation, Executable executable)
      Resolves an explicit collection or the collection implied by the selected Model, Graph or document type.