public enum ExitCode extends Enum<ExitCode>
Enum Constant and Description |
---|
JUNIT_ISSUE |
OK |
OUT_OF_MEMORY |
TIMEOUT |
UNKNOWN_ERROR |
Modifier and Type | Method and Description |
---|---|
static ExitCode |
fromCode(int code) |
int |
getCode() |
boolean |
isOk() |
static ExitCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExitCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExitCode OK
public static final ExitCode OUT_OF_MEMORY
public static final ExitCode UNKNOWN_ERROR
public static final ExitCode TIMEOUT
public static final ExitCode JUNIT_ISSUE
public static ExitCode[] values()
for (ExitCode c : ExitCode.values()) System.out.println(c);
public static ExitCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getCode()
public static ExitCode fromCode(int code)
public boolean isOk()
Copyright © 2021 org.pitest. All rights reserved.