提交 643d708f 编写于 作者: J jglick

Minor Javadoc enhancements.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12076 71c3de6d-444a-0410-be80-ed276b4c234a
上级 005242bf
......@@ -614,7 +614,7 @@ public abstract class Job<JobT extends Job<JobT, RunT>, RunT extends Run<JobT, R
}
/**
* Returns the last successful build, if any. Otherwise null. A stable build
* Returns the last successful build, if any. Otherwise null. A successful build
* would include either {@link Result#SUCCESS} or {@link Result#UNSTABLE}.
*
* @see #getLastStableBuild()
......@@ -633,6 +633,7 @@ public abstract class Job<JobT extends Job<JobT, RunT>, RunT extends Run<JobT, R
/**
* Returns the last stable build, if any. Otherwise null.
* @see #getLastSuccessfulBuild
*/
@Exported
@QuickSilver
......
......@@ -13,11 +13,12 @@ import java.io.Serializable;
*/
public final class Result implements Serializable, CustomExportedBean {
/**
* The build didn't have any fatal errors not errors.
* The build had no errors.
*/
public static final Result SUCCESS = new Result("SUCCESS",BallColor.BLUE,0);
/**
* The build didn't have any fatal errors but some errors.
* The build had some errors but they were not fatal.
* For example, some tests failed.
*/
public static final Result UNSTABLE = new Result("UNSTABLE",BallColor.YELLOW,1);
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册