Class WrapWithComponentListFinder

java.lang.Object
com.vaadin.copilot.WrapWithComponentListFinder

public class WrapWithComponentListFinder extends Object
Finds components in the project and relevant dependencies that can be listed as options in Wrap With function. It uses ClassGraph to traverse classes in the project.
  • Constructor Details

    • WrapWithComponentListFinder

      public WrapWithComponentListFinder(com.vaadin.flow.server.VaadinContext vaadinContext, com.vaadin.flow.server.VaadinSession vaadinSession)
      Parameters:
      vaadinSession - VaadinSession to access server routes to exclude from the available list
      VaadinContext - VaadinContext to access SpringBridge
  • Method Details

    • findAndGet

      Finds the available components that has HasComponents interface in Flow and in the project and returns the sorted list
      Returns:
      the sorted list