public class ProjectResultBuildAction extends hudson.tasks.test.AbstractTestResultAction<ProjectResultBuildAction> implements org.kohsuke.stapler.StaplerProxy
Modifier and Type | Class and Description |
---|---|
static class |
ProjectResultBuildAction.Data |
Constructor and Description |
---|
ProjectResultBuildAction(hudson.model.AbstractBuild<?,?> owner,
String moduleNames,
hudson.model.BuildListener listener) |
Modifier and Type | Method and Description |
---|---|
List<hudson.tasks.junit.TestAction> |
getActions(hudson.tasks.test.TestObject object) |
String |
getDisplayName() |
int |
getFailCount()
Gets the number of failed tests.
|
String |
getModuleNames() |
ModuleResult |
getModuleResult(String moduleName) |
ProjectResult |
getResult()
Get the result that this action represents.
|
ProjectResult |
getResultAsProjectResult()
This convenience method is what getResult() should have been, but with a specified return type.
|
String |
getRootUrl(hudson.tasks.test.TestObject testObject,
String urlName) |
String |
getRootUrl(hudson.tasks.test.TestObject testObject,
hudson.tasks.junit.TestAction testAction) |
int |
getSkipCount()
Gets the total number of skipped tests
|
Object |
getTarget() |
static List<hudson.tasks.junit.TestAction> |
getTestActions(hudson.tasks.test.TestObject testObject,
hudson.tasks.test.AbstractTestResultAction<?> testResultAction) |
int |
getTotalCount()
Gets the total number of tests.
|
Object |
readResolve()
Bring this object into an internally-consistent state after deserializing it.
|
void |
setData(List<ProjectResultBuildAction.Data> testData) |
void |
setDescription(hudson.tasks.test.TestObject testObject,
String s) |
doGraph, doGraphMap, findCorrespondingResult, findPreviousCorresponding, getApi, getBuildHealth, getDescription, getFailedTests, getFailureDiffString, getHealthScaleFactor, getIconFileName, getPassedTests, getPreviousResult, getSkippedTests, getTestResultPath, getUrlName, onAttached, onLoad
public ProjectResultBuildAction(hudson.model.AbstractBuild<?,?> owner, String moduleNames, hudson.model.BuildListener listener)
public Object getTarget()
getTarget
in interface org.kohsuke.stapler.StaplerProxy
public int getFailCount()
getFailCount
in class hudson.tasks.test.AbstractTestResultAction<ProjectResultBuildAction>
public int getSkipCount()
getSkipCount
in class hudson.tasks.test.AbstractTestResultAction<ProjectResultBuildAction>
public int getTotalCount()
getTotalCount
in class hudson.tasks.test.AbstractTestResultAction<ProjectResultBuildAction>
public List<hudson.tasks.junit.TestAction> getActions(hudson.tasks.test.TestObject object)
public void setData(List<ProjectResultBuildAction.Data> testData)
public ProjectResult getResult()
getResult
in class hudson.tasks.test.AbstractTestResultAction<ProjectResultBuildAction>
public ProjectResult getResultAsProjectResult()
public ModuleResult getModuleResult(String moduleName)
public void setDescription(hudson.tasks.test.TestObject testObject, String s)
setDescription
in class hudson.tasks.test.AbstractTestResultAction<ProjectResultBuildAction>
public String getDisplayName()
getDisplayName
in interface hudson.model.Action
getDisplayName
in interface hudson.model.ModelObject
getDisplayName
in class hudson.tasks.test.AbstractTestResultAction<ProjectResultBuildAction>
public String getRootUrl(hudson.tasks.test.TestObject testObject, hudson.tasks.junit.TestAction testAction)
public String getModuleNames()
public Object readResolve()
readResolve
in class hudson.tasks.test.AbstractTestResultAction<ProjectResultBuildAction>
public static List<hudson.tasks.junit.TestAction> getTestActions(hudson.tasks.test.TestObject testObject, hudson.tasks.test.AbstractTestResultAction<?> testResultAction)
Copyright © 2004-2016. All Rights Reserved.