Record Class ContentConsistencyManager.ConsistenciesReport
java.lang.Object
java.lang.Record
org.ametys.cms.content.consistency.ContentConsistencyManager.ConsistenciesReport
- Record Components:
results
- a list ofContentConsistencyResult
for every contents that were checkedunchecked
- a list of content id for every content check that were interrupted, cancelled or failed during execution
- Enclosing class:
- ContentConsistencyManager
public static record ContentConsistencyManager.ConsistenciesReport(List<String> results, List<String> unchecked)
extends Record
Record holding the results of a consistency checks on multiple contents
-
Constructor Summary
ConstructorDescriptionConsistenciesReport
(List<String> results, List<String> unchecked) Creates an instance of aConsistenciesReport
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
isEmpty()
Returns true if this report contains no elementsresults()
Returns the value of theresults
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theunchecked
record component.
-
Constructor Details
-
Method Details
-
isEmpty
Returns true if this report contains no elements- Returns:
- true if this report contains no elements
-
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)
. -
results
Returns the value of theresults
record component.- Returns:
- the value of the
results
record component
-
unchecked
Returns the value of theunchecked
record component.- Returns:
- the value of the
unchecked
record component
-