hudson.plugins.analysis.core
Interface AnnotationParser

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractAnnotationParser

public interface AnnotationParser
extends Serializable

A parser for annotations.

Author:
Ulli Hafner

Method Summary
 Collection<FileAnnotation> parse(File file, String moduleName)
          Returns the annotations found in the specified file.
 

Method Detail

parse

Collection<FileAnnotation> parse(File file,
                                 String moduleName)
                                 throws InvocationTargetException
Returns the annotations found in the specified file.

Parameters:
file - the file to parse
moduleName - name of the maven module
Returns:
the parsed result (stored in the module instance)
Throws:
InvocationTargetException - if the file could not be parsed (wrap your exception in this exception)


Copyright © 2004-2012 Hudson. All Rights Reserved.