Package com.yahoo.vespa.model
Record Class LogctlSpec
java.lang.Object
java.lang.Record
com.yahoo.vespa.model.LogctlSpec
-
Constructor Summary
ConstructorDescriptionLogctlSpec
(String componentSpec, com.yahoo.container.logging.LevelsModSpec levelsModSpec) Creates an instance of aLogctlSpec
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecomponentSpec
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.com.yahoo.container.logging.LevelsModSpec
Returns the value of thelevelsModSpec
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
LogctlSpec
Creates an instance of aLogctlSpec
record class.- Parameters:
componentSpec
- the value for thecomponentSpec
record componentlevelsModSpec
- the value for thelevelsModSpec
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 withObjects::equals(Object,Object)
. -
componentSpec
Returns the value of thecomponentSpec
record component.- Returns:
- the value of the
componentSpec
record component
-
levelsModSpec
public com.yahoo.container.logging.LevelsModSpec levelsModSpec()Returns the value of thelevelsModSpec
record component.- Returns:
- the value of the
levelsModSpec
record component
-