Package io.micronaut.openapi.visitor
Record Class ConfigUtils.AdditionalFilesProperties
java.lang.Object
java.lang.Record
io.micronaut.openapi.visitor.ConfigUtils.AdditionalFilesProperties
- Record Components:
additionalFiles- list of additional files and directoriesmergeMode- merge modeincludePatterns- include files patternincludePatternStyle- include pattern styleexcludePatterns- exclude files patternexcludePatternStyle- exclude pattern style
- Enclosing class:
- ConfigUtils
@Internal
public static record ConfigUtils.AdditionalFilesProperties(List<String> additionalFiles, ConfigUtils.MergeMode mergeMode, List<String> includePatterns, ConfigUtils.PatternStyle includePatternStyle, List<String> excludePatterns, ConfigUtils.PatternStyle excludePatternStyle)
extends Record
Additional files properties.
-
Constructor Summary
ConstructorsConstructorDescriptionAdditionalFilesProperties(List<String> additionalFiles, ConfigUtils.MergeMode mergeMode, List<String> includePatterns, ConfigUtils.PatternStyle includePatternStyle, List<String> excludePatterns, ConfigUtils.PatternStyle excludePatternStyle) Creates an instance of aAdditionalFilesPropertiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalFilesrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexcludePatternsrecord component.Returns the value of theexcludePatternStylerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theincludePatternsrecord component.Returns the value of theincludePatternStylerecord component.Returns the value of themergeModerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AdditionalFilesProperties
public AdditionalFilesProperties(List<String> additionalFiles, ConfigUtils.MergeMode mergeMode, List<String> includePatterns, ConfigUtils.PatternStyle includePatternStyle, List<String> excludePatterns, ConfigUtils.PatternStyle excludePatternStyle) Creates an instance of aAdditionalFilesPropertiesrecord class.- Parameters:
additionalFiles- the value for theadditionalFilesrecord componentmergeMode- the value for themergeModerecord componentincludePatterns- the value for theincludePatternsrecord componentincludePatternStyle- the value for theincludePatternStylerecord componentexcludePatterns- the value for theexcludePatternsrecord componentexcludePatternStyle- the value for theexcludePatternStylerecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
additionalFiles
Returns the value of theadditionalFilesrecord component.- Returns:
- the value of the
additionalFilesrecord component
-
mergeMode
Returns the value of themergeModerecord component.- Returns:
- the value of the
mergeModerecord component
-
includePatterns
Returns the value of theincludePatternsrecord component.- Returns:
- the value of the
includePatternsrecord component
-
includePatternStyle
Returns the value of theincludePatternStylerecord component.- Returns:
- the value of the
includePatternStylerecord component
-
excludePatterns
Returns the value of theexcludePatternsrecord component.- Returns:
- the value of the
excludePatternsrecord component
-
excludePatternStyle
Returns the value of theexcludePatternStylerecord component.- Returns:
- the value of the
excludePatternStylerecord component
-