public enum ExternalConverterScriptResult extends Enum<ExternalConverterScriptResult>
| Enum Constant and Description |
|---|
CONVERSION_SUCCESSFUL
Represents a successful conversion of a file.
|
CONVERTER_INACCESSIBLE
Represents an interaction with a converter where the converter did not respond.
|
CONVERTER_INTERACTION_SUCCESSFUL
Represents a successful interaction with an external converter.
|
ILLEGAL_CALL
Represents an interaction with a converter which was not accepted by a converter for formal reasons.
|
ILLEGAL_INPUT
Represents an interaction which was aborted because of the source file was found illegal.
|
INPUT_NOT_FOUND
Represents an interaction which was aborted because of the source file was not found on the file system.
|
TARGET_INACCESSIBLE
Represents an interaction which was aborted because of the target file was inaccessible.
|
UNKNOWN
Represents an interaction with a converter which cannot be explained.
|
| Modifier and Type | Method and Description |
|---|---|
static ExternalConverterScriptResult |
from(int exitValue) |
Integer |
getExitValue() |
boolean |
resolve() |
String |
toString() |
static ExternalConverterScriptResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExternalConverterScriptResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExternalConverterScriptResult CONVERSION_SUCCESSFUL
public static final ExternalConverterScriptResult CONVERTER_INTERACTION_SUCCESSFUL
public static final ExternalConverterScriptResult ILLEGAL_INPUT
public static final ExternalConverterScriptResult TARGET_INACCESSIBLE
public static final ExternalConverterScriptResult INPUT_NOT_FOUND
public static final ExternalConverterScriptResult ILLEGAL_CALL
public static final ExternalConverterScriptResult CONVERTER_INACCESSIBLE
public static final ExternalConverterScriptResult UNKNOWN
public static ExternalConverterScriptResult[] values()
for (ExternalConverterScriptResult c : ExternalConverterScriptResult.values()) System.out.println(c);
public static ExternalConverterScriptResult 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 static ExternalConverterScriptResult from(int exitValue)
public boolean resolve()
public Integer getExitValue()
public String toString()
toString in class Enum<ExternalConverterScriptResult>Copyright © 2013–2016. All rights reserved.