hudson.plugins.dependencyanalyzer.parser
Class DependencyAnalysisParser

java.lang.Object
  extended by hudson.plugins.dependencyanalyzer.parser.DependencyAnalysisParser

public final class DependencyAnalysisParser
extends Object

Parse the content of dependency:* sections and organize the detected problems.

Author:
Vincent Sellier, Etienne Jouvin

Nested Class Summary
static class DependencyAnalysisParser.DependencyProblemTypesDetection
          Internal enumeration to detect dependency problem type starting bloc in log file.
 
Method Summary
static DependencyAnalysisParser getInstance()
           
 Map<DependencyProblemType,List<String>> parseDependencyAnalyzeSection(String content)
          Parse log content for the goal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DependencyAnalysisParser getInstance()
Returns:
Default instance.

parseDependencyAnalyzeSection

public Map<DependencyProblemType,List<String>> parseDependencyAnalyzeSection(String content)
                                                                      throws IOException
Parse log content for the goal. Extract informations for used but not declared dependencies, and declared and not used dependency.

Parameters:
content - Goal content to parse.
Returns:
List of dependency according the problem type.
Throws:
IOException - Content reading error.


Copyright © 2004-2014. All Rights Reserved.