hudson.plugins.testng
Class Publisher

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

public class Publisher
extends hudson.tasks.Recorder

This class defines a @Publisher and @Extension


Nested Class Summary
static class Publisher.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 Publisher.DescriptorImpl DESCRIPTOR
           
 boolean escapeExceptionMsg
           
 boolean escapeTestDescp
           
 String reportFilenamePattern
           
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
Publisher(String reportFilenamePattern, boolean escapeTestDescp, boolean escapeExceptionMsg)
           
 
Method Summary
 hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> getDescriptor()
          
 Collection<? extends hudson.model.Action> getProjectActions(hudson.model.AbstractProject<?,?> project)
          
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
          
 
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

reportFilenamePattern

public final String reportFilenamePattern

escapeTestDescp

public final boolean escapeTestDescp

escapeExceptionMsg

public final boolean escapeExceptionMsg

DESCRIPTOR

@Extension
public static final Publisher.DescriptorImpl DESCRIPTOR
Constructor Detail

Publisher

@DataBoundConstructor
public Publisher(String reportFilenamePattern,
                                      boolean escapeTestDescp,
                                      boolean escapeExceptionMsg)
Method Detail

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()

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

getProjectActions

public Collection<? extends hudson.model.Action> getProjectActions(hudson.model.AbstractProject<?,?> project)

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

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws InterruptedException,
                       IOException

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


Copyright © 2004-2013. All Rights Reserved.