Record Class MoverPasswordEnvelope.Assignment
java.lang.Object
java.lang.Record
ecmwf.ecpds.mover.MoverPasswordEnvelope.Assignment
- Enclosing class:
MoverPasswordEnvelope
public static record MoverPasswordEnvelope.Assignment(MoverPasswordEnvelope.Purpose purpose, MoverPasswordEnvelope.Route route, String mover, long host, UUID attempt)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAssignment(MoverPasswordEnvelope.Purpose purpose, MoverPasswordEnvelope.Route route, String mover, long host, UUID attempt) Creates an instance of aAssignmentrecord class. -
Method Summary
Modifier and TypeMethodDescriptionattempt()Returns the value of theattemptrecord 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.purpose()Returns the value of thepurposerecord component.route()Returns the value of therouterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Assignment
public Assignment(MoverPasswordEnvelope.Purpose purpose, MoverPasswordEnvelope.Route route, String mover, long host, UUID attempt) Creates an instance of aAssignmentrecord class.- Parameters:
purpose- the value for thepurposerecord componentroute- the value for therouterecord componentmover- the value for themoverrecord componenthost- the value for thehostrecord componentattempt- the value for theattemptrecord 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. -
purpose
Returns the value of thepurposerecord component.- Returns:
- the value of the
purposerecord component
-
route
Returns the value of therouterecord component.- Returns:
- the value of the
routerecord 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
-
attempt
Returns the value of theattemptrecord component.- Returns:
- the value of the
attemptrecord component
-