Record Class WeatherAutomation.Configuration
java.lang.Object
java.lang.Record
ecmwf.ecpds.master.weather.WeatherAutomation.Configuration
- All Implemented Interfaces:
Serializable
- Enclosing class:
WeatherAutomation
public static record WeatherAutomation.Configuration(long revision, boolean automatic, boolean historical, Set<WeatherObservation.Path> approved, Set<WeatherObservation.Path> pins, Set<WeatherObservation.Path> exclusions, boolean probesEnabled, Set<WeatherProbe.Policy> probePolicies, Map<String,String> sourceGroups)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConfiguration(long revision, boolean automatic, boolean historical, Set<WeatherObservation.Path> approved, Set<WeatherObservation.Path> pins, Set<WeatherObservation.Path> exclusions, boolean probesEnabled, Set<WeatherProbe.Policy> probePolicies, Map<String, String> sourceGroups) Creates an instance of aConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionapproved()Returns the value of theapprovedrecord component.booleanReturns the value of theautomaticrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexclusionsrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thehistoricalrecord component.pins()Returns the value of thepinsrecord component.Returns the value of theprobePoliciesrecord component.booleanReturns the value of theprobesEnabledrecord component.longrevision()Returns the value of therevisionrecord component.Returns the value of thesourceGroupsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Configuration
public Configuration(long revision, boolean automatic, boolean historical, Set<WeatherObservation.Path> approved, Set<WeatherObservation.Path> pins, Set<WeatherObservation.Path> exclusions, boolean probesEnabled, Set<WeatherProbe.Policy> probePolicies, Map<String, String> sourceGroups) Creates an instance of aConfigurationrecord class.- Parameters:
revision- the value for therevisionrecord componentautomatic- the value for theautomaticrecord componenthistorical- the value for thehistoricalrecord componentapproved- the value for theapprovedrecord componentpins- the value for thepinsrecord componentexclusions- the value for theexclusionsrecord componentprobesEnabled- the value for theprobesEnabledrecord componentprobePolicies- the value for theprobePoliciesrecord componentsourceGroups- the value for thesourceGroupsrecord 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. -
revision
public long revision()Returns the value of therevisionrecord component.- Returns:
- the value of the
revisionrecord component
-
automatic
public boolean automatic()Returns the value of theautomaticrecord component.- Returns:
- the value of the
automaticrecord component
-
historical
public boolean historical()Returns the value of thehistoricalrecord component.- Returns:
- the value of the
historicalrecord component
-
approved
Returns the value of theapprovedrecord component.- Returns:
- the value of the
approvedrecord component
-
pins
Returns the value of thepinsrecord component.- Returns:
- the value of the
pinsrecord component
-
exclusions
Returns the value of theexclusionsrecord component.- Returns:
- the value of the
exclusionsrecord component
-
probesEnabled
public boolean probesEnabled()Returns the value of theprobesEnabledrecord component.- Returns:
- the value of the
probesEnabledrecord component
-
probePolicies
Returns the value of theprobePoliciesrecord component.- Returns:
- the value of the
probePoliciesrecord component
-
sourceGroups
-