hudson.plugins.ccm
Class CcmPublisher

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Recorder
              extended by hudson.plugins.analysis.core.HealthAwarePublisher
                  extended by hudson.plugins.ccm.CcmPublisher
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.matrix.MatrixAggregatable, hudson.model.Describable<hudson.tasks.Publisher>, hudson.plugins.analysis.core.HealthDescriptor, hudson.tasks.BuildStep, Serializable

public class CcmPublisher
extends hudson.plugins.analysis.core.HealthAwarePublisher

Publishes the results of the CCM analysis (freestyle project type).

Since:
3.0
Author:
Bruno P. Kinoshita - http://www.kinoshita.eti.br
See Also:
Serialized Form

Nested Class Summary
 
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
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
CcmPublisher(String healthy, String unHealthy, String thresholdLimit, String defaultEncoding, boolean useDeltaValues, String unstableTotalAll, String unstableTotalHigh, String unstableTotalNormal, String unstableTotalLow, String unstableNewAll, String unstableNewHigh, String unstableNewNormal, String unstableNewLow, String failedTotalAll, String failedTotalHigh, String failedTotalNormal, String failedTotalLow, String failedNewAll, String failedNewHigh, String failedNewNormal, String failedNewLow, boolean canRunOnFailed, boolean shouldDetectModules, boolean canComputeNew, String pattern)
           
 
Method Summary
 hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
          
 CcmDescriptor getDescriptor()
          
 String getPattern()
          Returns the Ant file-set pattern of files to work with.
 hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
          
 hudson.plugins.analysis.core.BuildResult perform(hudson.model.AbstractBuild<?,?> build, hudson.plugins.analysis.util.PluginLogger logger)
          
 
Methods inherited from class hudson.plugins.analysis.core.HealthAwarePublisher
canComputeNew, canContinue, getCanComputeNew, getCanRunOnFailed, getDefaultEncoding, getHealthy, getMinimumPriority, getRequiredMonitorService, getShouldDetectModules, getThresholdLimit, getThresholds, getUnHealthy, getUseDeltaValues, isAntBuild, isMavenBuild, perform, readResolve, shouldDetectModules
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectActions, 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
getProjectActions, prebuild
 

Constructor Detail

CcmPublisher

@DataBoundConstructor
public CcmPublisher(String healthy,
                                         String unHealthy,
                                         String thresholdLimit,
                                         String defaultEncoding,
                                         boolean useDeltaValues,
                                         String unstableTotalAll,
                                         String unstableTotalHigh,
                                         String unstableTotalNormal,
                                         String unstableTotalLow,
                                         String unstableNewAll,
                                         String unstableNewHigh,
                                         String unstableNewNormal,
                                         String unstableNewLow,
                                         String failedTotalAll,
                                         String failedTotalHigh,
                                         String failedTotalNormal,
                                         String failedTotalLow,
                                         String failedNewAll,
                                         String failedNewHigh,
                                         String failedNewNormal,
                                         String failedNewLow,
                                         boolean canRunOnFailed,
                                         boolean shouldDetectModules,
                                         boolean canComputeNew,
                                         String pattern)
Method Detail

getPattern

public String getPattern()
Returns the Ant file-set pattern of files to work with.

Returns:
Ant file-set pattern of files to work with

getProjectAction

public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)

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

perform

public hudson.plugins.analysis.core.BuildResult perform(hudson.model.AbstractBuild<?,?> build,
                                                        hudson.plugins.analysis.util.PluginLogger logger)
                                                 throws InterruptedException,
                                                        IOException

Specified by:
perform in class hudson.plugins.analysis.core.HealthAwarePublisher
Throws:
InterruptedException
IOException

getDescriptor

public CcmDescriptor getDescriptor()

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

createAggregator

public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build,
                                                       hudson.Launcher launcher,
                                                       hudson.model.BuildListener listener)



Copyright © 2010-2012 Jenkins. All Rights Reserved.