Package de.bsvrz.ars.ars.repair
Record Class ScanMode
java.lang.Object
java.lang.Record
de.bsvrz.ars.ars.repair.ScanMode
- Record Components:
indexFiles
- Sollen Indexdateien auf korrektes Format überprüft werden?containerFiles
- Sollen Containerdateien auf korrektes Format und häufige Fehler überprüft werden?indexHeaderConsistency
- Sollen die Indexdateien auf konsistenz mit den Containerheadern überprüft werden?containerHeaderConsistency
- Sollen die Container-Header auf Konsistenz mit den Containerdaten überprüft werden?deleteBackupIndexFiles
- Sollen die veralteten Backup-Index-Dateien automatisch gelöscht werden?fixErrors
- Sollen gefundene Fehler gelöscht werden?
public record ScanMode(boolean indexFiles, boolean containerFiles, boolean indexHeaderConsistency, boolean containerHeaderConsistency, boolean deleteBackupIndexFiles, boolean fixErrors)
extends Record
Attribute, wie ein Überprüfungslauf der
PersistenceCheckRunner
-Klasse durchgeführt werden soll.-
Constructor Summary
ConstructorsConstructorDescriptionScanMode
(boolean indexFiles, boolean containerFiles, boolean indexHeaderConsistency, boolean containerHeaderConsistency, boolean deleteBackupIndexFiles, boolean fixErrors) Creates an instance of aScanMode
record class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the value of thecontainerFiles
record component.boolean
Returns the value of thecontainerHeaderConsistency
record component.boolean
Returns the value of thedeleteBackupIndexFiles
record component.final boolean
Indicates whether some other object is "equal to" this one.boolean
Returns the value of thefixErrors
record component.final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of theindexFiles
record component.boolean
Returns the value of theindexHeaderConsistency
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ScanMode
public ScanMode(boolean indexFiles, boolean containerFiles, boolean indexHeaderConsistency, boolean containerHeaderConsistency, boolean deleteBackupIndexFiles, boolean fixErrors) Creates an instance of aScanMode
record class.- Parameters:
indexFiles
- the value for theindexFiles
record componentcontainerFiles
- the value for thecontainerFiles
record componentindexHeaderConsistency
- the value for theindexHeaderConsistency
record componentcontainerHeaderConsistency
- the value for thecontainerHeaderConsistency
record componentdeleteBackupIndexFiles
- the value for thedeleteBackupIndexFiles
record componentfixErrors
- the value for thefixErrors
record 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 with '=='. -
indexFiles
public boolean indexFiles()Returns the value of theindexFiles
record component.- Returns:
- the value of the
indexFiles
record component
-
containerFiles
public boolean containerFiles()Returns the value of thecontainerFiles
record component.- Returns:
- the value of the
containerFiles
record component
-
indexHeaderConsistency
public boolean indexHeaderConsistency()Returns the value of theindexHeaderConsistency
record component.- Returns:
- the value of the
indexHeaderConsistency
record component
-
containerHeaderConsistency
public boolean containerHeaderConsistency()Returns the value of thecontainerHeaderConsistency
record component.- Returns:
- the value of the
containerHeaderConsistency
record component
-
deleteBackupIndexFiles
public boolean deleteBackupIndexFiles()Returns the value of thedeleteBackupIndexFiles
record component.- Returns:
- the value of the
deleteBackupIndexFiles
record component
-
fixErrors
public boolean fixErrors()Returns the value of thefixErrors
record component.- Returns:
- the value of the
fixErrors
record component
-