Record Class AvisoDiscovery.Config
java.lang.Object
java.lang.Record
ecmwf.common.ectrans.notification.AvisoDiscovery.Config
- Enclosing class:
AvisoDiscovery
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongafter()Returns the value of theafterrecord component.base()Returns the value of thebaserecord component.Returns the value of thedestinationrecord component.Returns the value of thedirectoryrecord 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 theinventoryAtrecord component.intReturns the value of themaxDirectoriesrecord component.intReturns the value of themaxEventsrecord component.intmaxFiles()Returns the value of themaxFilesrecord component.pattern()Returns the value of thepatternrecord component.longReturns the value of thereconcileMillisrecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Config
public Config(URI base, String destination, String source, String directory, long after, long inventoryAt, long reconcileMillis, int maxEvents, int maxFiles, int maxDirectories, String pattern) Creates an instance of aConfigrecord class.- Parameters:
base- the value for thebaserecord componentdestination- the value for thedestinationrecord componentsource- the value for thesourcerecord componentdirectory- the value for thedirectoryrecord componentafter- the value for theafterrecord componentinventoryAt- the value for theinventoryAtrecord componentreconcileMillis- the value for thereconcileMillisrecord componentmaxEvents- the value for themaxEventsrecord componentmaxFiles- the value for themaxFilesrecord componentmaxDirectories- the value for themaxDirectoriesrecord componentpattern- the value for thepatternrecord 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. -
base
Returns the value of thebaserecord component.- Returns:
- the value of the
baserecord component
-
destination
Returns the value of thedestinationrecord component.- Returns:
- the value of the
destinationrecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
directory
Returns the value of thedirectoryrecord component.- Returns:
- the value of the
directoryrecord component
-
after
public long after()Returns the value of theafterrecord component.- Returns:
- the value of the
afterrecord component
-
inventoryAt
public long inventoryAt()Returns the value of theinventoryAtrecord component.- Returns:
- the value of the
inventoryAtrecord component
-
reconcileMillis
public long reconcileMillis()Returns the value of thereconcileMillisrecord component.- Returns:
- the value of the
reconcileMillisrecord component
-
maxEvents
public int maxEvents()Returns the value of themaxEventsrecord component.- Returns:
- the value of the
maxEventsrecord component
-
maxFiles
public int maxFiles()Returns the value of themaxFilesrecord component.- Returns:
- the value of the
maxFilesrecord component
-
maxDirectories
public int maxDirectories()Returns the value of themaxDirectoriesrecord component.- Returns:
- the value of the
maxDirectoriesrecord component
-
pattern
Returns the value of thepatternrecord component.- Returns:
- the value of the
patternrecord component
-