Record Class TestUtils.LevelsContainer
java.lang.Object
java.lang.Record
org.springframework.integration.test.util.TestUtils.LevelsContainer
-
Constructor Summary
ConstructorsConstructorDescriptionLevelsContainer
(Map<Class<?>, org.apache.logging.log4j.Level> classLevels, Map<String, org.apache.logging.log4j.Level> categoryLevels) Creates an instance of aLevelsContainer
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecategoryLevels
record component.Returns the value of theclassLevels
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.
-
Constructor Details
-
LevelsContainer
public LevelsContainer(Map<Class<?>, org.apache.logging.log4j.Level> classLevels, Map<String, org.apache.logging.log4j.Level> categoryLevels) Creates an instance of aLevelsContainer
record class.- Parameters:
classLevels
- the value for theclassLevels
record componentcategoryLevels
- the value for thecategoryLevels
record component
-
-
Method Details
-
toString
-
hashCode
-
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)
. -
classLevels
-
categoryLevels
-