Record Class WeatherAutomation.Saved
java.lang.Object
java.lang.Record
ecmwf.ecpds.master.weather.WeatherAutomation.Saved
- Enclosing class:
WeatherAutomation
public static record WeatherAutomation.Saved(WeatherAutomation.Configuration configuration, WeatherDiscoveryStore.Progress cursor, long lastRebalance)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSaved(WeatherAutomation.Configuration configuration, WeatherDiscoveryStore.Progress cursor, long lastRebalance) Creates an instance of aSavedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfigurationrecord component.cursor()Returns the value of thecursorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of thelastRebalancerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Saved
public Saved(WeatherAutomation.Configuration configuration, WeatherDiscoveryStore.Progress cursor, long lastRebalance) Creates an instance of aSavedrecord class.- Parameters:
configuration- the value for theconfigurationrecord componentcursor- the value for thecursorrecord componentlastRebalance- the value for thelastRebalancerecord 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. -
configuration
Returns the value of theconfigurationrecord component.- Returns:
- the value of the
configurationrecord component
-
cursor
Returns the value of thecursorrecord component.- Returns:
- the value of the
cursorrecord component
-
lastRebalance
public long lastRebalance()Returns the value of thelastRebalancerecord component.- Returns:
- the value of the
lastRebalancerecord component
-