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
parse
Collection<FileAnnotation> parse(File file,
String moduleName)
throws InvocationTargetException
- Returns the annotations found in the specified file.
- Parameters:
file - the file to parsemoduleName - 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.