hudson.plugins.logparser
Class LogParserParser

java.lang.Object
  extended by hudson.plugins.logparser.LogParserParser

public class LogParserParser
extends java.lang.Object


Constructor Summary
LogParserParser(java.lang.String parsingRulesPath)
           
 
Method Summary
 java.lang.String getLineStatus(java.lang.String line)
           
 void incrementCounter(java.lang.String status)
           
 void incrementCounterPerSection(java.lang.String status, int sectionNumber)
           
 java.lang.String parseLine(java.lang.String line)
           
 java.lang.String parseLine(java.lang.String line, java.lang.String status)
           
 LogParserResult parseLog(hudson.model.AbstractBuild build)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogParserParser

public LogParserParser(java.lang.String parsingRulesPath)
                throws java.io.FileNotFoundException,
                       java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException
Method Detail

parseLog

public LogParserResult parseLog(hudson.model.AbstractBuild build)
                         throws java.io.FileNotFoundException,
                                java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException

getLineStatus

public java.lang.String getLineStatus(java.lang.String line)

parseLine

public java.lang.String parseLine(java.lang.String line)
                           throws java.io.IOException
Throws:
java.io.IOException

parseLine

public java.lang.String parseLine(java.lang.String line,
                                  java.lang.String status)
                           throws java.io.IOException
Throws:
java.io.IOException

incrementCounter

public void incrementCounter(java.lang.String status)

incrementCounterPerSection

public void incrementCounterPerSection(java.lang.String status,
                                       int sectionNumber)


Copyright © 2010. All Rights Reserved.