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() |
@Nonnull public static final Result UNSTABLE
@Nonnull 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.
@Nonnull public static final Result ABORTED
InterruptedException
and interpreting it as ABORTED
,
you should check Executor.abortResult()
instead (starting 1.417.)@Nonnegative public final int ordinal
public final boolean completeBuild
public static final com.thoughtworks.xstream.converters.SingleValueConverter conv
@Nonnull public Result combine(@Nonnull Result that)
Result
s and returns the worse one.public boolean isCompleteBuild()
@Nonnull public String toExportedObject()
toExportedObject
in interface org.kohsuke.stapler.export.CustomExportedBean
@Initializer public static void init()
Copyright © 2017. All rights reserved.