Enum PdfVisualTester.ProblemType
- java.lang.Object
-
- java.lang.Enum<PdfVisualTester.ProblemType>
-
- com.openhtmltopdf.pdfboxout.visualtester.PdfVisualTester.ProblemType
-
- All Implemented Interfaces:
Serializable
,Comparable<PdfVisualTester.ProblemType>
- Enclosing class:
- PdfVisualTester
public static enum PdfVisualTester.ProblemType extends Enum<PdfVisualTester.ProblemType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXTRA_EXPECTED_PAGE
NO_ACTUAL_DOCUMENT_PROVIDED
NO_EXPECTED_DOCUMENT_PROVIDED
PAGE_COUNT_DIFFERENT
PAGE_GOOD
PAGE_SIZE_DIFFERENT
PAGE_VISUALLY_DIFFERENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PdfVisualTester.ProblemType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PdfVisualTester.ProblemType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PAGE_GOOD
public static final PdfVisualTester.ProblemType PAGE_GOOD
-
NO_EXPECTED_DOCUMENT_PROVIDED
public static final PdfVisualTester.ProblemType NO_EXPECTED_DOCUMENT_PROVIDED
-
NO_ACTUAL_DOCUMENT_PROVIDED
public static final PdfVisualTester.ProblemType NO_ACTUAL_DOCUMENT_PROVIDED
-
EXTRA_EXPECTED_PAGE
public static final PdfVisualTester.ProblemType EXTRA_EXPECTED_PAGE
-
PAGE_COUNT_DIFFERENT
public static final PdfVisualTester.ProblemType PAGE_COUNT_DIFFERENT
-
PAGE_SIZE_DIFFERENT
public static final PdfVisualTester.ProblemType PAGE_SIZE_DIFFERENT
-
PAGE_VISUALLY_DIFFERENT
public static final PdfVisualTester.ProblemType PAGE_VISUALLY_DIFFERENT
-
-
Method Detail
-
values
public static PdfVisualTester.ProblemType[] 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 (PdfVisualTester.ProblemType c : PdfVisualTester.ProblemType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PdfVisualTester.ProblemType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-