//----------------------------------------------------------------------------//
// //
// R e s u l t //
// //
//----------------------------------------------------------------------------//
// <editor-fold defaultstate="collapsed" desc="hdr"> //
// Copyright © Hervé Bitteur and others 2000-2013. All rights reserved. //
// This software is released under the GNU General Public License. //
// Goto http://kenai.com/projects/audiveris to report bugs or suggestions. //
//----------------------------------------------------------------------------//
// </editor-fold>
package omr.check;
/**
* Class {@code Result} is the root of all result information stored while
* processing processing checks.
*
* @author Hervé Bitteur
*/
public abstract class Result
{
//~ Instance fields --------------------------------------------------------
/**
* A readable comment about the result.
*/
public final String comment;
//~ Constructors -----------------------------------------------------------
//--------//
// Result //
//--------//
/**
* Creates a new Result object.
*
* @param comment A description of this result
*/
public Result (String comment)
{
this.comment = comment;
}
//~ Methods ----------------------------------------------------------------
//----------//
// toString //
//----------//
/**
* Report a description of this result
*
* @return A descriptive string
*/
@Override
public String toString ()
{
return comment;
}
}