Record Class WeatherAdministration.Status

java.lang.Object
java.lang.Record
ecmwf.ecpds.master.weather.WeatherAdministration.Status
All Implemented Interfaces:
Serializable
Enclosing class:
WeatherAdministration

public static record WeatherAdministration.Status(long configurationRevision, List<WeatherObservation.Path> paths, String updatedBy, long updatedAt, String error, boolean saving, boolean restored, WeatherCollector.Snapshot collector, String collectionCapability, String socketPersistenceCapability, String automaticSelectionCapability, String probeCapability, List<WeatherSourceRegistry.Status> sources, long verifiedBatches, long rejectedBatches, long deferredBatches, String activationBlocker, boolean requestedEnabled, WeatherPersistence.Status persistence, WeatherLimits limits) extends Record implements Serializable
See Also:
  • Constructor Details

    • Status

      public Status(long configurationRevision, List<WeatherObservation.Path> paths, String updatedBy, long updatedAt, String error, boolean saving, boolean restored, WeatherCollector.Snapshot collector, String collectionCapability, String socketPersistenceCapability, String automaticSelectionCapability, String probeCapability, List<WeatherSourceRegistry.Status> sources, long verifiedBatches, long rejectedBatches, long deferredBatches, String activationBlocker, boolean requestedEnabled, WeatherPersistence.Status persistence, WeatherLimits limits)
      Creates an instance of a Status record class.
      Parameters:
      configurationRevision - the value for the configurationRevision record component
      paths - the value for the paths record component
      updatedBy - the value for the updatedBy record component
      updatedAt - the value for the updatedAt record component
      error - the value for the error record component
      saving - the value for the saving record component
      restored - the value for the restored record component
      collector - the value for the collector record component
      collectionCapability - the value for the collectionCapability record component
      socketPersistenceCapability - the value for the socketPersistenceCapability record component
      automaticSelectionCapability - the value for the automaticSelectionCapability record component
      probeCapability - the value for the probeCapability record component
      sources - the value for the sources record component
      verifiedBatches - the value for the verifiedBatches record component
      rejectedBatches - the value for the rejectedBatches record component
      deferredBatches - the value for the deferredBatches record component
      activationBlocker - the value for the activationBlocker record component
      requestedEnabled - the value for the requestedEnabled record component
      persistence - the value for the persistence record component
      limits - the value for the limits record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • configurationRevision

      public long configurationRevision()
      Returns the value of the configurationRevision record component.
      Returns:
      the value of the configurationRevision record component
    • paths

      public List<WeatherObservation.Path> paths()
      Returns the value of the paths record component.
      Returns:
      the value of the paths record component
    • updatedBy

      public String updatedBy()
      Returns the value of the updatedBy record component.
      Returns:
      the value of the updatedBy record component
    • updatedAt

      public long updatedAt()
      Returns the value of the updatedAt record component.
      Returns:
      the value of the updatedAt record component
    • error

      public String error()
      Returns the value of the error record component.
      Returns:
      the value of the error record component
    • saving

      public boolean saving()
      Returns the value of the saving record component.
      Returns:
      the value of the saving record component
    • restored

      public boolean restored()
      Returns the value of the restored record component.
      Returns:
      the value of the restored record component
    • collector

      public WeatherCollector.Snapshot collector()
      Returns the value of the collector record component.
      Returns:
      the value of the collector record component
    • collectionCapability

      public String collectionCapability()
      Returns the value of the collectionCapability record component.
      Returns:
      the value of the collectionCapability record component
    • socketPersistenceCapability

      public String socketPersistenceCapability()
      Returns the value of the socketPersistenceCapability record component.
      Returns:
      the value of the socketPersistenceCapability record component
    • automaticSelectionCapability

      public String automaticSelectionCapability()
      Returns the value of the automaticSelectionCapability record component.
      Returns:
      the value of the automaticSelectionCapability record component
    • probeCapability

      public String probeCapability()
      Returns the value of the probeCapability record component.
      Returns:
      the value of the probeCapability record component
    • sources

      Returns the value of the sources record component.
      Returns:
      the value of the sources record component
    • verifiedBatches

      public long verifiedBatches()
      Returns the value of the verifiedBatches record component.
      Returns:
      the value of the verifiedBatches record component
    • rejectedBatches

      public long rejectedBatches()
      Returns the value of the rejectedBatches record component.
      Returns:
      the value of the rejectedBatches record component
    • deferredBatches

      public long deferredBatches()
      Returns the value of the deferredBatches record component.
      Returns:
      the value of the deferredBatches record component
    • activationBlocker

      public String activationBlocker()
      Returns the value of the activationBlocker record component.
      Returns:
      the value of the activationBlocker record component
    • requestedEnabled

      public boolean requestedEnabled()
      Returns the value of the requestedEnabled record component.
      Returns:
      the value of the requestedEnabled record component
    • persistence

      public WeatherPersistence.Status persistence()
      Returns the value of the persistence record component.
      Returns:
      the value of the persistence record component
    • limits

      public WeatherLimits limits()
      Returns the value of the limits record component.
      Returns:
      the value of the limits record component