com.cwctravel.hudson.plugins.suitegroupedtests
Class TestDataPublisher
java.lang.Object
hudson.model.AbstractDescribableImpl<TestDataPublisher>
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 TestAction
s 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 classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
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 |
TestDataPublisher
public TestDataPublisher()
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
TestAction
s.
- 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.