Record Class OpenRewriteConfiguration

java.lang.Object
java.lang.Record
io.micronaut.projectgen.openrewrite.OpenRewriteConfiguration
Record Components:
activeRecipes - Active Recipes
exportDatatables - Export Datatables
recipeChangeLogLevel - Recipe Change Log Level
configLocation - Config Location
operatingSystem - Operating System

public record OpenRewriteConfiguration(List<String> activeRecipes, boolean exportDatatables, String recipeChangeLogLevel, String configLocation, OperatingSystem operatingSystem) extends Record
  • Constructor Details

    • OpenRewriteConfiguration

      public OpenRewriteConfiguration(List<String> activeRecipes, boolean exportDatatables, String recipeChangeLogLevel, String configLocation, OperatingSystem operatingSystem)
      Creates an instance of a OpenRewriteConfiguration record class.
      Parameters:
      activeRecipes - the value for the activeRecipes record component
      exportDatatables - the value for the exportDatatables record component
      recipeChangeLogLevel - the value for the recipeChangeLogLevel record component
      configLocation - the value for the configLocation record component
      operatingSystem - the value for the operatingSystem record component
  • Method Details

    • getSystemPropertiesList

      public List<String> getSystemPropertiesList()
      Returns:
      System Properties List
    • getSystemProperties

      public Map<String,Object> getSystemProperties()
      Returns:
      System Properties
    • builder

      public static OpenRewriteConfiguration.Builder builder()
      Returns:
      Builder
    • 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.
    • activeRecipes

      public List<String> activeRecipes()
      Returns the value of the activeRecipes record component.
      Returns:
      the value of the activeRecipes record component
    • exportDatatables

      public boolean exportDatatables()
      Returns the value of the exportDatatables record component.
      Returns:
      the value of the exportDatatables record component
    • recipeChangeLogLevel

      public String recipeChangeLogLevel()
      Returns the value of the recipeChangeLogLevel record component.
      Returns:
      the value of the recipeChangeLogLevel record component
    • configLocation

      public String configLocation()
      Returns the value of the configLocation record component.
      Returns:
      the value of the configLocation record component
    • operatingSystem

      public OperatingSystem operatingSystem()
      Returns the value of the operatingSystem record component.
      Returns:
      the value of the operatingSystem record component