Enum Class PackageKind
- All Implemented Interfaces:
Serializable, Comparable<PackageKind>, Constable
What a package holds, as the manifest records it under
kind
(dev-adoc-packages, IKE-Network/ike-issues#1341).- Since:
- 136
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionlabel()The kind as the manifest writes it.static PackageKindReturns the enum constant of this class with the specified name.static PackageKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOPICS
Topics: files that declare a:topic-id:, with their images. -
LIBRARY
The library's own package: the preview index and shared images, rendered content that is not metadata and so not underMETA-INF. A package is of this kind whenike.adoc.library-packagenames it, or when it holds anindex.adocand no topic.
-
-
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
-
label
-