saker.build Documentation TaskDoc JavaDoc Packages
Enumeration for the possible exit codes that a build task execution can end with.
Enumeration constants
The build execution failed, an exception was thrown during task execution.
The build system failed to initialize the build execution.
The build execution was successful, no exception was thrown during task execution.
Methods
public boolean
Gets if the build execution should be considered successful.
public static ResultKind
Returns the enum constant of this type with the specified name.
public static ResultKind[]
Returns an array containing the constants of this enum type, in the order they are declared.
The build execution failed, an exception was thrown during task execution.

See getExceptionView() for more information.

The build system failed to initialize the build execution.

See getExceptionView() for more information.

The build execution was successful, no exception was thrown during task execution.

Exceptions might still be thrown after the tasks have finished, make sure to check getExceptionView().

public boolean isSuccessful()
Gets if the build execution should be considered successful.

A build is successful, if no tasks threw an exception during their execution.

true if successful.
public static ResultKind valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
IllegalArgumentExceptionIf this enum type has no constant with the specified name.
NullPointerExceptionIf the argument is null.
The enum constant with the specified name.
public static ResultKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ResultKind c : ResultKind.values())
    System.out.println(c);
An array containing the constants of this enum type, in the order they are declared.