Package org.alfresco.util.schemacomp
Class Result
- java.lang.Object
-
- org.alfresco.util.schemacomp.Result
-
- Direct Known Subclasses:
Difference,RedundantDbObject,ValidationResult
public abstract class Result extends Object
Base class for the result of a differencing or validation operation.- Author:
- Matt Ward
-
-
Constructor Summary
Constructors Constructor Description Result()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Stringdescribe()A loggable message to describe the comparison result.abstract Stringdescribe(Locale locale)An overload of thedescribe()that allows you to specify what locale to use for the loggable message that describes the comparison result.
-
-
-
Method Detail
-
describe
public String describe()
A loggable message to describe the comparison result. Default implementation delegates to toString() but this should generally be overridden as toString() is used in a multitude of contexts.- Returns:
- String
-
describe
public abstract String describe(Locale locale)
An overload of thedescribe()that allows you to specify what locale to use for the loggable message that describes the comparison result.- Parameters:
locale- The locale to use for comparison description.- Returns:
- String
-
-