Package com.vaadin.copilot
Class WrapWithComponentListFinder
java.lang.Object
com.vaadin.copilot.WrapWithComponentListFinder
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordInfo about the class name -
Constructor Summary
ConstructorsConstructorDescriptionWrapWithComponentListFinder(com.vaadin.flow.server.VaadinServletContext vaadinServletContext, com.vaadin.flow.server.VaadinSession vaadinSession) ConstructsWrapWithComponentListFinder -
Method Summary
Modifier and TypeMethodDescriptionFinds the available components that hasHasComponentsinterface in Flow and in the project and returns the sorted list
-
Constructor Details
-
WrapWithComponentListFinder
public WrapWithComponentListFinder(com.vaadin.flow.server.VaadinServletContext vaadinServletContext, com.vaadin.flow.server.VaadinSession vaadinSession) ConstructsWrapWithComponentListFinder- Parameters:
vaadinServletContext- VaadinServletContext to access SpringBridgevaadinSession- VaadinSession to access server routes to exclude from the available list
-
-
Method Details
-
findAndGet
Finds the available components that hasHasComponentsinterface in Flow and in the project and returns the sorted list- Returns:
- the sorted list
-