Record Class GN_PL_Run2_Env

java.lang.Object
java.lang.Record
tripleo.elijah_durable_congenial.comp.notation.GN_PL_Run2_Env
All Implemented Interfaces:
GN_Env

public record GN_PL_Run2_Env(@NotNull PipelineLogic pipelineLogic, @NotNull WorldModule mod, @NotNull CompilationEnclosure ce, @NotNull Consumer<WorldModule> worldConsumer) extends Record implements GN_Env
  • Constructor Details

    • GN_PL_Run2_Env

      public GN_PL_Run2_Env(@NotNull @NotNull PipelineLogic pipelineLogic, @NotNull @NotNull WorldModule mod, @NotNull @NotNull CompilationEnclosure ce, @NotNull @NotNull Consumer<WorldModule> worldConsumer)
      Creates an instance of a GN_PL_Run2_Env record class.
      Parameters:
      pipelineLogic - the value for the pipelineLogic record component
      mod - the value for the mod record component
      ce - the value for the ce record component
      worldConsumer - the value for the worldConsumer 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • pipelineLogic

      @NotNull public @NotNull PipelineLogic pipelineLogic()
      Returns the value of the pipelineLogic record component.
      Returns:
      the value of the pipelineLogic record component
    • mod

      @NotNull public @NotNull WorldModule mod()
      Returns the value of the mod record component.
      Returns:
      the value of the mod record component
    • ce

      @NotNull public @NotNull CompilationEnclosure ce()
      Returns the value of the ce record component.
      Returns:
      the value of the ce record component
    • worldConsumer

      @NotNull public @NotNull Consumer<WorldModule> worldConsumer()
      Returns the value of the worldConsumer record component.
      Returns:
      the value of the worldConsumer record component