Record Class ResourceDropOffCallInOutcome
java.lang.Object
java.lang.Record
idlab.colonyops.model.events.ResourceDropOffCallInOutcome
- Record Components:
dropOff- the deployed resource drop-off point (captured at deployment time)
- All Implemented Interfaces:
ActionOutcome
public record ResourceDropOffCallInOutcome(ResourceDropOffPoint dropOff)
extends Record
implements ActionOutcome
Outcome for the
OrbitalCallInCommand.DEPLOY_RESOURCE_DROP_OFF call-in.-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aResourceDropOffCallInOutcomerecord class. -
Method Summary
Modifier and TypeMethodDescriptiondropOff()Returns the value of thedropOffrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ResourceDropOffCallInOutcome
Creates an instance of aResourceDropOffCallInOutcomerecord class.- Parameters:
dropOff- the value for thedropOffrecord 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). -
dropOff
-