hudson.plugins.nsiq
Class SourcePainter

java.lang.Object
  extended by hudson.plugins.nsiq.SourcePainter

public class SourcePainter
extends java.lang.Object

Author:
iceize at NHN Corporation

Constructor Summary
SourcePainter()
          생성자
 
Method Summary
 java.lang.String paint(hudson.FilePath filePath, Encoding encoding)
          소스 파일을 읽어 Klocwork 결과를 포함한 HTML로 변환하여 리턴한다.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourcePainter

public SourcePainter()
생성자

Parameters:
build - Build 인스턴스
problems - Klocwork 결과
Method Detail

paint

public java.lang.String paint(hudson.FilePath filePath,
                              Encoding encoding)
                       throws java.io.IOException
소스 파일을 읽어 Klocwork 결과를 포함한 HTML로 변환하여 리턴한다.

Parameters:
encoding -
filename - 소스 파일 이름
problemLines - 라인 정보
encoding - 파일 인코딩
Returns:
HTML
Throws:
java.io.IOException - 파일에 저장할 수 없는 경우 발생하는 예외


Copyright © 2004-2011. All Rights Reserved.