Class CDIRestAnnotator

java.lang.Object
org.drools.codegen.common.rest.impl.CDIRestAnnotator
All Implemented Interfaces:
RestAnnotator

public class CDIRestAnnotator extends Object implements RestAnnotator
  • Constructor Details

    • CDIRestAnnotator

      public CDIRestAnnotator()
  • Method Details

    • isRestAnnotated

      public <T extends com.github.javaparser.ast.nodeTypes.NodeWithAnnotations<?>> boolean isRestAnnotated(T node)
      Specified by:
      isRestAnnotated in interface RestAnnotator
    • getEndpointValue

      public <T extends com.github.javaparser.ast.nodeTypes.NodeWithAnnotations<?>> Optional<String> getEndpointValue(T node)
      Specified by:
      getEndpointValue in interface RestAnnotator