com.cwctravel.hudson.plugins.suitegroupedtests
Class TestDataPublisher

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<TestDataPublisher>
      extended by com.cwctravel.hudson.plugins.suitegroupedtests.TestDataPublisher
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<TestDataPublisher>

public abstract class TestDataPublisher
extends hudson.model.AbstractDescribableImpl<TestDataPublisher>
implements hudson.ExtensionPoint

Contributes TestActions to test results. This enables plugins to annotate test results and provide richer UI, such as letting users claim test failures, allowing people to file bugs, or more generally, additional actions, views, etc.

To register your implementation, put Extension on your descriptor implementation.

Since:
1.320

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
TestDataPublisher()
           
 
Method Summary
static hudson.DescriptorExtensionList<TestDataPublisher,hudson.model.Descriptor<TestDataPublisher>> all()
           
abstract  SuiteGroupResultAction.Data getTestData(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener, SuiteGroupResult testResult)
          Called after test results are collected by Hudson, to create a resolver for TestActions.
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestDataPublisher

public TestDataPublisher()
Method Detail

getTestData

public abstract SuiteGroupResultAction.Data getTestData(hudson.model.AbstractBuild<?,?> build,
                                                        hudson.Launcher launcher,
                                                        hudson.model.BuildListener listener,
                                                        SuiteGroupResult testResult)
                                                 throws java.io.IOException,
                                                        java.lang.InterruptedException
Called after test results are collected by Hudson, to create a resolver for TestActions.

Returns:
can be null to indicate that there's nothing to contribute for this test result.
Throws:
java.io.IOException
java.lang.InterruptedException

all

public static hudson.DescriptorExtensionList<TestDataPublisher,hudson.model.Descriptor<TestDataPublisher>> all()


Copyright © 2004-2012. All Rights Reserved.