public final class Result extends Object implements Serializable, org.kohsuke.stapler.export.CustomExportedBean
Modifier and Type | Class and Description |
---|---|
static class |
Result.OptionHandlerImpl |
Modifier and Type | Field and Description |
---|---|
static Result |
ABORTED
The build was manually aborted.
|
BallColor |
color
Default ball color for this status.
|
boolean |
completeBuild
Is this a complete build - i.e.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Result |
combine(Result that)
Combines two
Result s and returns the worse one. |
static Result |
fromString(String s) |
static void |
init() |
boolean |
isBetterOrEqualTo(Result that) |
boolean |
isBetterThan(Result that) |
boolean |
isCompleteBuild()
Is this a complete build - i.e.
|
boolean |
isWorseOrEqualTo(Result that) |
boolean |
isWorseThan(Result that) |
String |
toExportedObject() |
String |
toString() |
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 final boolean completeBuild
public static final com.thoughtworks.xstream.converters.SingleValueConverter conv
public boolean isWorseThan(Result that)
public boolean isWorseOrEqualTo(Result that)
public boolean isBetterThan(Result that)
public boolean isBetterOrEqualTo(Result that)
public boolean isCompleteBuild()
public String toExportedObject()
toExportedObject
in interface org.kohsuke.stapler.export.CustomExportedBean
@Initializer public static void init()
Copyright © 2014. All rights reserved.