Record Class Command
java.lang.Object
java.lang.Record
org.aksw.shellgebra.exec.Command
-
Constructor Summary
ConstructorsConstructorDescriptionCommand(CmdOp baseCmdOp, List<FileWriterTask> fileWriterTasks) Creates an instance of aCommandrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebaseCmdOprecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefileWriterTasksrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Command
Creates an instance of aCommandrecord class.- Parameters:
baseCmdOp- the value for thebaseCmdOprecord componentfileWriterTasks- the value for thefileWriterTasksrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
baseCmdOp
Returns the value of thebaseCmdOprecord component.- Returns:
- the value of the
baseCmdOprecord component
-
fileWriterTasks
Returns the value of thefileWriterTasksrecord component.- Returns:
- the value of the
fileWriterTasksrecord component
-