Package com.vaadin.copilot
Record Class UserApplicationComponentFinder.Options
java.lang.Object
java.lang.Record
com.vaadin.copilot.UserApplicationComponentFinder.Options
- Record Components:
includeRouteClass- whether route navigation-target classes are includedincludeInterface- whether interfaces are includedincludeAbstract- whether abstract classes are includedincludeInnerClasses- whether inner classes are includedexcludeClassNameList- 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexcludeClassNameListrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theincludeAbstractrecord component.booleanReturns the value of theincludeInnerClassesrecord component.booleanReturns the value of theincludeInterfacerecord component.booleanReturns the value of theincludeRouteClassrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Options
public Options(boolean includeRouteClass, boolean includeInterface, boolean includeAbstract, boolean includeInnerClasses, List<String> excludeClassNameList) Creates an instance of aOptionsrecord class.- Parameters:
includeRouteClass- the value for theincludeRouteClassrecord componentincludeInterface- the value for theincludeInterfacerecord componentincludeAbstract- the value for theincludeAbstractrecord componentincludeInnerClasses- the value for theincludeInnerClassesrecord componentexcludeClassNameList- the value for theexcludeClassNameListrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
includeRouteClass
public boolean includeRouteClass()Returns the value of theincludeRouteClassrecord component.- Returns:
- the value of the
includeRouteClassrecord component
-
includeInterface
public boolean includeInterface()Returns the value of theincludeInterfacerecord component.- Returns:
- the value of the
includeInterfacerecord component
-
includeAbstract
public boolean includeAbstract()Returns the value of theincludeAbstractrecord component.- Returns:
- the value of the
includeAbstractrecord component
-
includeInnerClasses
public boolean includeInnerClasses()Returns the value of theincludeInnerClassesrecord component.- Returns:
- the value of the
includeInnerClassesrecord component
-
excludeClassNameList
Returns the value of theexcludeClassNameListrecord component.- Returns:
- the value of the
excludeClassNameListrecord component
-