Known

public enum Known

Enum representing the known values for Outcome.

Entries

Link copied to clipboard

Unspecified status. This value should not be used.

Link copied to clipboard

Code execution completed successfully.

Link copied to clipboard

Code execution finished but with a failure. `stderr` should contain the reason.

Link copied to clipboard

Code execution ran for too long, and was cancelled. There may or may not be a partial output present.

Functions

Link copied to clipboard
public static Outcome.Known 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.)

Link copied to clipboard
public static Array<Outcome.Known> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.