org.apache.maven.doxia.book.services.validation

Class ValidationResult

public class ValidationResult extends Object

Encapsulates the result of a validation.

Version: $Id: ValidationResult.java 572956 2007-09-05 14:22:50Z ltheussl $

Author: Trygve Laugstøl

Method Summary
ListgetErrors()
Return the list of errors.
ListgetWarnings()
Return the list of warnings.
booleanisAllOk()
Checks if there were any errors or warnings.

Method Detail

getErrors

public List getErrors()
Return the list of errors.

Returns: List. A new ArrayList is constructed if the current List is null.

getWarnings

public List getWarnings()
Return the list of warnings.

Returns: List. A new ArrayList is constructed if the current List is null.

isAllOk

public boolean isAllOk()
Checks if there were any errors or warnings.

Returns: True if there were no errors or warnings.

Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.