Record Class TestUtils.LevelsContainer
java.lang.Object
java.lang.Record
org.springframework.integration.test.util.TestUtils.LevelsContainer
- Enclosing class:
TestUtils
-
Constructor Summary
ConstructorsConstructorDescriptionLevelsContainer(Map<Class<?>, org.apache.logging.log4j.Level> classLevels, Map<String, org.apache.logging.log4j.Level> categoryLevels) Creates an instance of aLevelsContainerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecategoryLevelsrecord component.Returns the value of theclassLevelsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()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 aLevelsContainerrecord class.- Parameters:
classLevels- the value for theclassLevelsrecord componentcategoryLevels- the value for thecategoryLevelsrecord 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
-