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 Details

    • Result

      public Result()
  • Method Details

    • 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 the describe() 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