|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.Result
public final class Result
The build outcome.
| Nested Class Summary | |
|---|---|
static class |
Result.OptionHandlerImpl
|
| Field Summary | |
|---|---|
static Result |
ABORTED
The build was manually aborted. |
BallColor |
color
Default ball color for this status. |
static com.thoughtworks.xstream.converters.SingleValueConverter |
conv
|
static Result |
FAILURE
The build had a fatal error. |
static Result |
NOT_BUILT
The module was not built. |
int |
ordinal
Bigger numbers are worse. |
static Result |
SUCCESS
The build had no errors. |
static Result |
UNSTABLE
The build had some errors but they were not fatal. |
| Method Summary | |
|---|---|
Result |
combine(Result that)
Combines two Results and returns the worse one. |
static Result |
fromString(String s)
|
boolean |
isBetterOrEqualTo(Result that)
|
boolean |
isBetterThan(Result that)
|
boolean |
isWorseOrEqualTo(Result that)
|
boolean |
isWorseThan(Result that)
|
String |
toExportedObject()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Result SUCCESS
public static final Result UNSTABLE
public static final Result FAILURE
public static final Result NOT_BUILT
This status code is used in a multi-stage build (like maven2) where a problem in earlier stage prevented later stages from building.
public static final Result ABORTED
InterruptedException and interpreting it as ABORTED,
you should check Executor.abortResult() instead (starting 1.417.)
public final int ordinal
public final BallColor color
public static final com.thoughtworks.xstream.converters.SingleValueConverter conv
| Method Detail |
|---|
public Result combine(Result that)
Results and returns the worse one.
public boolean isWorseThan(Result that)
public boolean isWorseOrEqualTo(Result that)
public boolean isBetterThan(Result that)
public boolean isBetterOrEqualTo(Result that)
public String toString()
toString in class Objectpublic String toExportedObject()
toExportedObject in interface org.kohsuke.stapler.export.CustomExportedBeanpublic static Result fromString(String s)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||