public static enum CliConstants.ExitCodes extends Enum<CliConstants.ExitCodes>
| Enum Constant and Description |
|---|
BAD_PARAMS
Bad command line parameters
|
ENCRYPTED_FILES
Some PDF files encrypted.
|
FAILED_PARSING
Failed to parse one or more files
|
INVALID
All files parsed, some invalid
|
IO_EXCEPTION
Java I/O Exception during processing
|
JAXB_EXCEPTION |
NO_FILES
No files from passed list or directory
|
OOM
Out of Memory
|
VALID
All files parsed and valid
|
VERAPDF_EXCEPTION
veraPDF exception thrown while processing
|
| Modifier and Type | Field and Description |
|---|---|
String |
message
The appropriate help message for the exitCode
|
int |
value
The numeric exit code for return to OS.
|
| Modifier and Type | Method and Description |
|---|---|
static CliConstants.ExitCodes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CliConstants.ExitCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CliConstants.ExitCodes VALID
public static final CliConstants.ExitCodes INVALID
public static final CliConstants.ExitCodes BAD_PARAMS
public static final CliConstants.ExitCodes OOM
public static final CliConstants.ExitCodes NO_FILES
public static final CliConstants.ExitCodes IO_EXCEPTION
public static final CliConstants.ExitCodes FAILED_PARSING
public static final CliConstants.ExitCodes ENCRYPTED_FILES
public static final CliConstants.ExitCodes VERAPDF_EXCEPTION
public static final CliConstants.ExitCodes JAXB_EXCEPTION
public final int value
public final String message
public static CliConstants.ExitCodes[] values()
for (CliConstants.ExitCodes c : CliConstants.ExitCodes.values()) System.out.println(c);
public static CliConstants.ExitCodes 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 nullCopyright © 2015–2019 The veraPDF Consortium. All rights reserved.