Annotation Type InstrumentedRoute


@Retention(RUNTIME) @Target(TYPE) @Documented public @interface InstrumentedRoute
Annotation to mark a Component class for instrumented route registration.
Author:
Javier Godoy / Flowing Code
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The route path for this component.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<? extends RouterLayout>
    Sets the parent component for the route target component.
  • Element Details

    • value

      String value
      The route path for this component.
      Returns:
      the route path
    • layout

      Class<? extends RouterLayout> layout
      Sets the parent component for the route target component.

      Returns:
      the layout component class used by the route target component.
      See Also:
      Default:
      com.vaadin.flow.component.UI.class