Record Class PlacedCmdOp.PlacedCmd
java.lang.Object
java.lang.Record
org.aksw.shellgebra.algebra.cmd.op.placed.PlacedCmdOp.PlacedCmd
- All Implemented Interfaces:
PlacedCmdOp
- Enclosing interface:
PlacedCmdOp
public static record PlacedCmdOp.PlacedCmd(CmdOp cmdOp, ExecSite execSite)
extends Record
implements PlacedCmdOp
-
Nested Class Summary
Nested classes/interfaces inherited from interface PlacedCmdOp
PlacedCmdOp.PlacedCmd, PlacedCmdOp.PlacedCmdOpVisitor<T>, PlacedCmdOp.PlacedGroup, PlacedCmdOp.PlacedPipeline -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(PlacedCmdOp.PlacedCmdOpVisitor<T> visitor) cmdOp()Returns the value of thecmdOprecord component.final booleanIndicates whether some other object is "equal to" this one.execSite()Returns the value of theexecSiterecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PlacedCmd
-
-
Method Details
-
getExecSite
- Specified by:
getExecSitein interfacePlacedCmdOp
-
accept
- Specified by:
acceptin interfacePlacedCmdOp
-
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). -
cmdOp
Returns the value of thecmdOprecord component.- Returns:
- the value of the
cmdOprecord component
-
execSite
Returns the value of theexecSiterecord component.- Returns:
- the value of the
execSiterecord component
-