hudson.plugins.nsiq
Class NSiqPublisher

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Recorder
              extended by hudson.plugins.nsiq.NSiqPublisher
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, NSiqAware, hudson.tasks.BuildStep

public class NSiqPublisher
extends hudson.tasks.Recorder
implements NSiqAware

Publisher의 인스턴스이다.

Version:
$Rev$, $Date$
Author:
iceize at NHN Corporation

Nested Class Summary
static class NSiqPublisher.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
static NSiqPublisher.DescriptorImpl DESCRIPTOR
           
 
Fields inherited from interface hudson.plugins.nsiq.NSiqAware
HIGH, LOW, SEPARATOR
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
NSiqPublisher(double lowRatio, double highRatio, boolean locView, boolean complexityView, boolean overView, boolean dailyView, Encoding encoding)
           
 
Method Summary
 hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> getDescriptor()
           
 Encoding getEncoding()
           
 java.util.Collection<NSiqProjectAction> getProjectActions(hudson.model.AbstractProject<?,?> project)
          플러그인에 대한 ProjectAction 인스턴스를 리턴한다.
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 boolean isComplexityView()
           
 boolean isDailyView()
           
 boolean isLocView()
           
 boolean isOverView()
           
 boolean perform(hudson.model.AbstractBuild<?,?> _build, hudson.Launcher launcher, hudson.model.BuildListener listener)
          프로젝트 빌드가 완료된 후, Publisher가 실제 수행하는 메소드이다.
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, perform, prebuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, prebuild
 

Field Detail

DESCRIPTOR

@Extension
public static final NSiqPublisher.DescriptorImpl DESCRIPTOR
Constructor Detail

NSiqPublisher

@DataBoundConstructor
public NSiqPublisher(double lowRatio,
                                          double highRatio,
                                          boolean locView,
                                          boolean complexityView,
                                          boolean overView,
                                          boolean dailyView,
                                          Encoding encoding)
Parameters:
lowRatio - 복잡도가 10인 함수의 비율
highRatio - 복잡도가 30인 함수의 비율
locView - LOC 그래프를 보여줄 것인지 설정
complexityView - 복잡도 그래프를 보여줄 것인지 설정
overView - 복잡도가 10인 함수의 목록을 보여줄 것인지의 여부를 설정
dailyView - 그래프를 일 기준으로 그릴 것인지 설정
Method Detail

isLocView

public boolean isLocView()

isComplexityView

public boolean isComplexityView()

isOverView

public boolean isOverView()

isDailyView

public boolean isDailyView()

getDescriptor

public hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>
Overrides:
getDescriptor in class hudson.tasks.Recorder

perform

public boolean perform(hudson.model.AbstractBuild<?,?> _build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws java.lang.InterruptedException,
                       java.io.IOException
프로젝트 빌드가 완료된 후, Publisher가 실제 수행하는 메소드이다.

Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
Throws:
java.lang.InterruptedException
java.io.IOException

getProjectActions

public java.util.Collection<NSiqProjectAction> getProjectActions(hudson.model.AbstractProject<?,?> project)
플러그인에 대한 ProjectAction 인스턴스를 리턴한다.

Specified by:
getProjectActions in interface hudson.tasks.BuildStep
Overrides:
getProjectActions in class hudson.tasks.BuildStepCompatibilityLayer

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
Specified by:
getRequiredMonitorService in interface hudson.tasks.BuildStep

getEncoding

public Encoding getEncoding()


Copyright © 2004-2011. All Rights Reserved.