Record Class LaunchOutcome.AttachFailed
java.lang.Object
java.lang.Record
com.botwithus.bot.api.script.LaunchOutcome.AttachFailed
- Record Components:
message- what went wrong
- All Implemented Interfaces:
LaunchOutcome
- Enclosing interface:
LaunchOutcome
public static record LaunchOutcome.AttachFailed(String message)
extends Record
implements LaunchOutcome
The service injected the client, but the host could not attach to it:
its pipe or its shared memory never appeared.
-
Nested Class Summary
Nested classes/interfaces inherited from interface LaunchOutcome
LaunchOutcome.Attached, LaunchOutcome.AttachFailed, LaunchOutcome.Failed -
Constructor Summary
ConstructorsConstructorDescriptionAttachFailed(String message) Creates an instance of aAttachFailedrecord 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.message()Returns the value of themessagerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AttachFailed
-
-
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). -
message
-