Package com.inet.pdfc.presenter
Enum Class BasePresenter.ERROR_SOURCE
- All Implemented Interfaces:
Serializable
,Comparable<BasePresenter.ERROR_SOURCE>
,Constable
- Enclosing class:
- BasePresenter
Names the thread / task where the error occurred
- Since:
- i-net PDFC 3.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSource is the compare task.Source is the parser for the first documentSource is thePDFComparer
or any other class which prepares theAbstractComparator
Source is the parser for the second document -
Method Summary
Modifier and TypeMethodDescriptionstatic BasePresenter.ERROR_SOURCE
Returns the enum constant of this class with the specified name.static BasePresenter.ERROR_SOURCE[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PREPARE
Source is thePDFComparer
or any other class which prepares theAbstractComparator
-
FIRST_PDF
Source is the parser for the first document -
SECOND_PDF
Source is the parser for the second document -
COMPARE
Source is the compare task. BUT the error may still be caused by one of the documents.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-