Record Class ConfigMerger.MergeResult
java.lang.Object
java.lang.Record
org.apache.tika.pipes.core.config.ConfigMerger.MergeResult
- Record Components:
configPath- path to the merged configuration filefetcherId- the primary generated fetcher ID (may be null if no fetchers were added)emitterId- the primary generated emitter ID (may be null if no emitters were added)
- Enclosing class:
- ConfigMerger
public static record ConfigMerger.MergeResult(Path configPath, String fetcherId, String emitterId)
extends Record
Result of a config merge operation.
-
Constructor Summary
ConstructorsConstructorDescriptionMergeResult(Path configPath, String fetcherId, String emitterId) Creates an instance of aMergeResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfigPathrecord component.Returns the value of theemitterIdrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefetcherIdrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MergeResult
Creates an instance of aMergeResultrecord class.- Parameters:
configPath- the value for theconfigPathrecord componentfetcherId- the value for thefetcherIdrecord componentemitterId- the value for theemitterIdrecord 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). -
configPath
Returns the value of theconfigPathrecord component.- Returns:
- the value of the
configPathrecord component
-
fetcherId
Returns the value of thefetcherIdrecord component.- Returns:
- the value of the
fetcherIdrecord component
-
emitterId
Returns the value of theemitterIdrecord component.- Returns:
- the value of the
emitterIdrecord component
-