- All Implemented Interfaces:
Serializable, Comparable<BuildExecutor.Result>, java.lang.constant.Constable
- Enclosing class:
BuildExecutor
Build result enumeration. @since 0.9.53.
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBad response received.Duplicate build ID.A hop's RouterInfo was not available in the local netdb.No paired or exploratory tunnel was available to send the build.Other failure.Build was rejected.Build configuration skipped by local policy before dispatch.Build succeeded.Build timed out.Constructor Summary
ConstructorsMethod Summary
All MethodsModifier and TypeMethodDescriptionstatic BuildExecutor.ResultReturns the enum constant of this class with the specified name.static BuildExecutor.Result[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
SUCCESS
Build succeeded.REJECT
Build was rejected.TIMEOUT
Build timed out.BAD_RESPONSE
Bad response received.DUP_ID
Duplicate build ID.NO_TUNNELS
No paired or exploratory tunnel was available to send the build.NO_NETDB
A hop's RouterInfo was not available in the local netdb.SKIPPED
Build configuration skipped by local policy before dispatch.OTHER_FAILURE
Other failure.
Constructor Details
Result
private Result()
Method Details
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null