Package com.deltawalker.script
Enum Class ReportKind
- All Implemented Interfaces:
Serializable,Comparable<ReportKind>,Constable
The kinds of report a comparison can write.
- Since:
- 2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn HTML report, viewable in a web browser.A JSON snapshot of a folder comparison: the names and attributes of the resources of every node, for one or more roles, together with the comparison's settings.A patch: a plain-text report, in one of severalPatchFormats, from which a patch program can recreate the modified text from the original. -
Method Summary
Modifier and TypeMethodDescriptionstatic ReportKindReturns the enum constant of this class with the specified name.static ReportKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
HTML
An HTML report, viewable in a web browser. -
JSON
A JSON snapshot of a folder comparison: the names and attributes of the resources of every node, for one or more roles, together with the comparison's settings. A snapshot can be reopened withComparisons.createFromReport(String, ComparisonListener). Folder comparisons only. -
PATCH
A patch: a plain-text report, in one of severalPatchFormats, from which a patch program can recreate the modified text from the original. Not implemented in the current release: folder comparisons write no file, and text comparisons write an HTML report.
-
-
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
-