Record Class CommandMetaDataImpl

java.lang.Object
java.lang.Record
jenax.engine.qlever.cmd.model.CommandMetaDataImpl
All Implemented Interfaces:
CommandMetaData

public record CommandMetaDataImpl(Boolean supportsStdIn, Boolean supportsFileArg, Boolean supportsMultipleFileArgs, Boolean supportsFileOutput, Boolean supportsStreamOutput, Boolean preferFileArg, Boolean preferFileOutput, Boolean preferProcessSubstitution) extends Record implements CommandMetaData
  • Constructor Details

    • CommandMetaDataImpl

      public CommandMetaDataImpl(Boolean supportsStdIn, Boolean supportsFileArg, Boolean supportsMultipleFileArgs, Boolean supportsFileOutput, Boolean supportsStreamOutput, Boolean preferFileArg, Boolean preferFileOutput, Boolean preferProcessSubstitution)
      Creates an instance of a CommandMetaDataImpl record class.
      Parameters:
      supportsStdIn - the value for the supportsStdIn record component
      supportsFileArg - the value for the supportsFileArg record component
      supportsMultipleFileArgs - the value for the supportsMultipleFileArgs record component
      supportsFileOutput - the value for the supportsFileOutput record component
      supportsStreamOutput - the value for the supportsStreamOutput record component
      preferFileArg - the value for the preferFileArg record component
      preferFileOutput - the value for the preferFileOutput record component
      preferProcessSubstitution - the value for the preferProcessSubstitution 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.
    • supportsStdIn

      public Boolean supportsStdIn()
      Returns the value of the supportsStdIn record component.
      Specified by:
      supportsStdIn in interface CommandMetaData
      Returns:
      the value of the supportsStdIn record component
    • supportsFileArg

      public Boolean supportsFileArg()
      Returns the value of the supportsFileArg record component.
      Specified by:
      supportsFileArg in interface CommandMetaData
      Returns:
      the value of the supportsFileArg record component
    • supportsMultipleFileArgs

      public Boolean supportsMultipleFileArgs()
      Returns the value of the supportsMultipleFileArgs record component.
      Specified by:
      supportsMultipleFileArgs in interface CommandMetaData
      Returns:
      the value of the supportsMultipleFileArgs record component
    • supportsFileOutput

      public Boolean supportsFileOutput()
      Returns the value of the supportsFileOutput record component.
      Specified by:
      supportsFileOutput in interface CommandMetaData
      Returns:
      the value of the supportsFileOutput record component
    • supportsStreamOutput

      public Boolean supportsStreamOutput()
      Returns the value of the supportsStreamOutput record component.
      Returns:
      the value of the supportsStreamOutput record component
    • preferFileArg

      public Boolean preferFileArg()
      Returns the value of the preferFileArg record component.
      Returns:
      the value of the preferFileArg record component
    • preferFileOutput

      public Boolean preferFileOutput()
      Returns the value of the preferFileOutput record component.
      Returns:
      the value of the preferFileOutput record component
    • preferProcessSubstitution

      public Boolean preferProcessSubstitution()
      Returns the value of the preferProcessSubstitution record component.
      Specified by:
      preferProcessSubstitution in interface CommandMetaData
      Returns:
      the value of the preferProcessSubstitution record component