Module xorcery.log4j
Record Class LoggingMetadata.Builder
- All Implemented Interfaces:
CommonMetadata.Builder<LoggingMetadata.Builder>
,DeploymentMetadata.Builder<LoggingMetadata.Builder>
- Enclosing class:
- LoggingMetadata
public static record LoggingMetadata.Builder(Metadata.Builder builder)
extends Record
implements CommonMetadata.Builder<LoggingMetadata.Builder>, DeploymentMetadata.Builder<LoggingMetadata.Builder>
-
Constructor Summary
ConstructorDescriptionBuilder
(Metadata.Builder builder) Creates an instance of aBuilder
record class. -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builder()
Returns the value of thebuilder
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.Methods inherited from interface CommonMetadata.Builder
contentType, timestamp
Methods inherited from interface DeploymentMetadata.Builder
configuration
-
Constructor Details
-
Builder
Creates an instance of aBuilder
record class.- Parameters:
builder
- the value for thebuilder
record component
-
-
Method Details
-
build
-
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
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)
. -
builder
Returns the value of thebuilder
record component.- Specified by:
builder
in interfaceCommonMetadata.Builder<LoggingMetadata.Builder>
- Specified by:
builder
in interfaceDeploymentMetadata.Builder<LoggingMetadata.Builder>
- Returns:
- the value of the
builder
record component
-