Class SpringRestAnnotator

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

public class SpringRestAnnotator extends Object implements RestAnnotator
  • Constructor Details

    • SpringRestAnnotator

      public SpringRestAnnotator()
  • 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