org.alfresco.util.schemacomp
Class Result

java.lang.Object
  extended by org.alfresco.util.schemacomp.Result
Direct Known Subclasses:
Difference, RedundantDbObject, ValidationResult

public abstract class Result
extends java.lang.Object

Base class for the result of a differencing or validation operation.


Nested Class Summary
static class Result.Strength
           
 
Field Summary
protected  Result.Strength strength
           
 
Constructor Summary
Result(Result.Strength strength)
           
 
Method Summary
 java.lang.String describe()
          A loggable message to describe the comparison result.
 Result.Strength getStrength()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

strength

protected final Result.Strength strength
Constructor Detail

Result

public Result(Result.Strength strength)
Parameters:
strength -
Method Detail

getStrength

public Result.Strength getStrength()
Returns:
the strength

describe

public java.lang.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:


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.