Record Class BootstrapCache.Config
java.lang.Object
java.lang.Record
org.fhirfrog.frog.server.bootstrap.BootstrapCache.Config
- Enclosing class:
- BootstrapCache
public static record BootstrapCache.Config(String registry, String cacheImageName, String imageTag, Path pgDumpFile, List<Path> keyFiles)
extends Record
Configuration for cache operations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecacheImageNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.imageTag()Returns the value of theimageTagrecord component.keyFiles()Returns the value of thekeyFilesrecord component.Returns the value of thepgDumpFilerecord component.registry()Returns the value of theregistryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Config
public Config(String registry, String cacheImageName, String imageTag, Path pgDumpFile, List<Path> keyFiles) Creates an instance of aConfigrecord class.- Parameters:
registry- the value for theregistryrecord componentcacheImageName- the value for thecacheImageNamerecord componentimageTag- the value for theimageTagrecord componentpgDumpFile- the value for thepgDumpFilerecord componentkeyFiles- the value for thekeyFilesrecord component
-
-
Method Details
-
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. -
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. -
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. All components in this record class are compared withObjects::equals(Object,Object). -
registry
Returns the value of theregistryrecord component.- Returns:
- the value of the
registryrecord component
-
cacheImageName
Returns the value of thecacheImageNamerecord component.- Returns:
- the value of the
cacheImageNamerecord component
-
imageTag
Returns the value of theimageTagrecord component.- Returns:
- the value of the
imageTagrecord component
-
pgDumpFile
Returns the value of thepgDumpFilerecord component.- Returns:
- the value of the
pgDumpFilerecord component
-
keyFiles
Returns the value of thekeyFilesrecord component.- Returns:
- the value of the
keyFilesrecord component
-