Record Class FileSystemJsonlReporterConfig
java.lang.Object
java.lang.Record
org.apache.tika.pipes.reporter.fs.FileSystemJsonlReporterConfig
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFileSystemJsonlReporterConfig(Path path, Set<String> includes, Set<String> excludes, FileSystemJsonlReporterConfig.ON_EXISTS onExists, int maxMessageLength) Creates an instance of aFileSystemJsonlReporterConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.excludes()Returns the value of theexcludesrecord component.final inthashCode()Returns a hash code value for this object.includes()Returns the value of theincludesrecord component.intReturns the value of themaxMessageLengthrecord component.onExists()Returns the value of theonExistsrecord component.path()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
DEFAULT_MAX_MESSAGE_LENGTH
public static final int DEFAULT_MAX_MESSAGE_LENGTH- See Also:
-
-
Constructor Details
-
FileSystemJsonlReporterConfig
public FileSystemJsonlReporterConfig(Path path, Set<String> includes, Set<String> excludes, FileSystemJsonlReporterConfig.ON_EXISTS onExists, int maxMessageLength) Creates an instance of aFileSystemJsonlReporterConfigrecord class.- Parameters:
path- the value for thepathrecord componentincludes- the value for theincludesrecord componentexcludes- the value for theexcludesrecord componentonExists- the value for theonExistsrecord componentmaxMessageLength- the value for themaxMessageLengthrecord component
-
-
Method Details
-
load
- Throws:
TikaConfigException
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
includes
Returns the value of theincludesrecord component.- Returns:
- the value of the
includesrecord component
-
excludes
Returns the value of theexcludesrecord component.- Returns:
- the value of the
excludesrecord component
-
onExists
Returns the value of theonExistsrecord component.- Returns:
- the value of the
onExistsrecord component
-
maxMessageLength
public int maxMessageLength()Returns the value of themaxMessageLengthrecord component.- Returns:
- the value of the
maxMessageLengthrecord component
-