Record Class OpenRewriteConfiguration
java.lang.Object
java.lang.Record
io.micronaut.projectgen.openrewrite.OpenRewriteConfiguration
- Record Components:
activeRecipes- Active RecipesexportDatatables- Export DatatablesrecipeChangeLogLevel- Recipe Change Log LevelconfigLocation- Config LocationoperatingSystem- Operating System
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionOpenRewriteConfiguration(List<String> activeRecipes, boolean exportDatatables, String recipeChangeLogLevel, String configLocation, OperatingSystem operatingSystem) Creates an instance of aOpenRewriteConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactiveRecipesrecord component.builder()Returns the value of theconfigLocationrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theexportDatatablesrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theoperatingSystemrecord component.Returns the value of therecipeChangeLogLevelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OpenRewriteConfiguration
public OpenRewriteConfiguration(List<String> activeRecipes, boolean exportDatatables, String recipeChangeLogLevel, String configLocation, OperatingSystem operatingSystem) Creates an instance of aOpenRewriteConfigurationrecord class.- Parameters:
activeRecipes- the value for theactiveRecipesrecord componentexportDatatables- the value for theexportDatatablesrecord componentrecipeChangeLogLevel- the value for therecipeChangeLogLevelrecord componentconfigLocation- the value for theconfigLocationrecord componentoperatingSystem- the value for theoperatingSystemrecord component
-
-
Method Details
-
getSystemPropertiesList
- Returns:
- System Properties List
-
getSystemProperties
- Returns:
- System Properties
-
builder
- Returns:
- Builder
-
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 '=='. -
activeRecipes
Returns the value of theactiveRecipesrecord component.- Returns:
- the value of the
activeRecipesrecord component
-
exportDatatables
public boolean exportDatatables()Returns the value of theexportDatatablesrecord component.- Returns:
- the value of the
exportDatatablesrecord component
-
recipeChangeLogLevel
Returns the value of therecipeChangeLogLevelrecord component.- Returns:
- the value of the
recipeChangeLogLevelrecord component
-
configLocation
Returns the value of theconfigLocationrecord component.- Returns:
- the value of the
configLocationrecord component
-
operatingSystem
Returns the value of theoperatingSystemrecord component.- Returns:
- the value of the
operatingSystemrecord component
-