Package com.inet.pdfc.presenter
Enum BasePresenter.ERROR_SOURCE
- java.lang.Object
-
- java.lang.Enum<BasePresenter.ERROR_SOURCE>
-
- com.inet.pdfc.presenter.BasePresenter.ERROR_SOURCE
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BasePresenter.ERROR_SOURCE>
- Enclosing class:
- BasePresenter
public static enum BasePresenter.ERROR_SOURCE extends java.lang.Enum<BasePresenter.ERROR_SOURCE>
Names the thread / task where the error occurred- Since:
- i-net PDFC 3.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPARE
Source is the compare task.FIRST_PDF
Source is the parser for the first documentPREPARE
Source is thePDFComparer
or any other class which prepares theAbstractComparator
SECOND_PDF
Source is the parser for the second document
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BasePresenter.ERROR_SOURCE
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BasePresenter.ERROR_SOURCE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREPARE
public static final BasePresenter.ERROR_SOURCE PREPARE
Source is thePDFComparer
or any other class which prepares theAbstractComparator
-
FIRST_PDF
public static final BasePresenter.ERROR_SOURCE FIRST_PDF
Source is the parser for the first document
-
SECOND_PDF
public static final BasePresenter.ERROR_SOURCE SECOND_PDF
Source is the parser for the second document
-
COMPARE
public static final BasePresenter.ERROR_SOURCE COMPARE
Source is the compare task. BUT the error may still be caused by one of the documents.
-
-
Method Detail
-
values
public static BasePresenter.ERROR_SOURCE[] 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 (BasePresenter.ERROR_SOURCE c : BasePresenter.ERROR_SOURCE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BasePresenter.ERROR_SOURCE valueOf(java.lang.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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-