KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hudson > tasks > junit > TestObject


1 package hudson.tasks.junit;
2
3 import hudson.model.AbstractBuild;
4 import hudson.model.ModelObject;
5
6 import java.io.Serializable JavaDoc;
7
8 /**
9  * Base class for all test result objects.
10  *
11  * @author Kohsuke Kawaguchi
12  */

13 public abstract class TestObject implements ModelObject, Serializable JavaDoc {
14     public abstract AbstractBuild<?,?> getOwner();
15
16     /**
17      * Gets the counter part of this {@link TestObject} in the previous run.
18      *
19      * @return null
20      * if no such counter part exists.
21      */

22     public abstract TestObject getPreviousResult();
23 }
24
Popular Tags