hudson.plugins.nsiq
Class NSiqPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
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 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 |
| 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)
|
| 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 |
DESCRIPTOR
@Extension
public static final NSiqPublisher.DescriptorImpl DESCRIPTOR
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 - 그래프를 일 기준으로 그릴 것인지 설정
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.