Record Class IdAShellTerminalHolder
java.lang.Object
java.lang.Record
com.io7m.idstore.shell.admin.internal.IdAShellTerminalHolder
- Record Components:
terminal- The terminal
- All Implemented Interfaces:
com.io7m.repetoir.core.RPServiceType
public record IdAShellTerminalHolder(org.jline.terminal.Terminal terminal)
extends Record
implements com.io7m.repetoir.core.RPServiceType
A terminal holder.
-
Constructor Summary
ConstructorsConstructorDescriptionIdAShellTerminalHolder(org.jline.terminal.Terminal terminal) Creates an instance of aIdAShellTerminalHolderrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.org.jline.terminal.Terminalterminal()Returns the value of theterminalrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IdAShellTerminalHolder
public IdAShellTerminalHolder(org.jline.terminal.Terminal terminal) Creates an instance of aIdAShellTerminalHolderrecord class.- Parameters:
terminal- the value for theterminalrecord component
-
-
Method Details
-
description
- Specified by:
descriptionin interfacecom.io7m.repetoir.core.RPServiceType
-
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). -
terminal
-