Record Class UserApplicationComponentFinder.Options

java.lang.Object
java.lang.Record
com.vaadin.copilot.UserApplicationComponentFinder.Options
Record Components:
includeRouteClass - whether route navigation-target classes are included
includeInterface - whether interfaces are included
includeAbstract - whether abstract classes are included
includeInnerClasses - whether inner classes are included
excludeClassNameList - fully qualified class names to exclude
Enclosing class:
UserApplicationComponentFinder

public static record UserApplicationComponentFinder.Options(boolean includeRouteClass, boolean includeInterface, boolean includeAbstract, boolean includeInnerClasses, List<String> excludeClassNameList) extends Record
Controls which classes are included in finder results.
  • Constructor Details

    • Options

      public Options(boolean includeRouteClass, boolean includeInterface, boolean includeAbstract, boolean includeInnerClasses, List<String> excludeClassNameList)
      Creates an instance of a Options record class.
      Parameters:
      includeRouteClass - the value for the includeRouteClass record component
      includeInterface - the value for the includeInterface record component
      includeAbstract - the value for the includeAbstract record component
      includeInnerClasses - the value for the includeInnerClasses record component
      excludeClassNameList - the value for the excludeClassNameList record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • includeRouteClass

      public boolean includeRouteClass()
      Returns the value of the includeRouteClass record component.
      Returns:
      the value of the includeRouteClass record component
    • includeInterface

      public boolean includeInterface()
      Returns the value of the includeInterface record component.
      Returns:
      the value of the includeInterface record component
    • includeAbstract

      public boolean includeAbstract()
      Returns the value of the includeAbstract record component.
      Returns:
      the value of the includeAbstract record component
    • includeInnerClasses

      public boolean includeInnerClasses()
      Returns the value of the includeInnerClasses record component.
      Returns:
      the value of the includeInnerClasses record component
    • excludeClassNameList

      public List<String> excludeClassNameList()
      Returns the value of the excludeClassNameList record component.
      Returns:
      the value of the excludeClassNameList record component