Record Class MoverPasswordEnvelope.SuccessfulDelivery
java.lang.Object
java.lang.Record
ecmwf.ecpds.mover.MoverPasswordEnvelope.SuccessfulDelivery
- Enclosing class:
MoverPasswordEnvelope
-
Constructor Summary
ConstructorsConstructorDescriptionSuccessfulDelivery(UUID attempt, UUID reference, String mover, long host, MoverPasswordEnvelope.Route route, String context, boolean successful) Creates an instance of aSuccessfulDeliveryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionattempt()Returns the value of theattemptrecord component.context()Returns the value of thecontextrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longhost()Returns the value of thehostrecord component.mover()Returns the value of themoverrecord component.Returns the value of thereferencerecord component.route()Returns the value of therouterecord component.booleanReturns the value of thesuccessfulrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SuccessfulDelivery
public SuccessfulDelivery(UUID attempt, UUID reference, String mover, long host, MoverPasswordEnvelope.Route route, String context, boolean successful) Creates an instance of aSuccessfulDeliveryrecord class.- Parameters:
attempt- the value for theattemptrecord componentreference- the value for thereferencerecord componentmover- the value for themoverrecord componenthost- the value for thehostrecord componentroute- the value for therouterecord componentcontext- the value for thecontextrecord componentsuccessful- the value for thesuccessfulrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
attempt
Returns the value of theattemptrecord component.- Returns:
- the value of the
attemptrecord component
-
reference
Returns the value of thereferencerecord component.- Returns:
- the value of the
referencerecord component
-
mover
Returns the value of themoverrecord component.- Returns:
- the value of the
moverrecord component
-
host
public long host()Returns the value of thehostrecord component.- Returns:
- the value of the
hostrecord component
-
route
Returns the value of therouterecord component.- Returns:
- the value of the
routerecord component
-
context
Returns the value of thecontextrecord component.- Returns:
- the value of the
contextrecord component
-
successful
public boolean successful()Returns the value of thesuccessfulrecord component.- Returns:
- the value of the
successfulrecord component
-