Enum Class PackageKind

java.lang.Object
java.lang.Enum<PackageKind>
network.ike.docs.plugin.packages.PackageKind
All Implemented Interfaces:
Serializable, Comparable<PackageKind>, Constable

public enum PackageKind extends Enum<PackageKind>
What a package holds, as the manifest records it under kind (dev-adoc-packages, IKE-Network/ike-issues#1341).
Since:
136
  • Enum Constant Details

    • TOPICS

      public static final PackageKind TOPICS
      Topics: files that declare a :topic-id:, with their images.
    • LIBRARY

      public static final PackageKind LIBRARY
      The library's own package: the preview index and shared images, rendered content that is not metadata and so not under META-INF. A package is of this kind when ike.adoc.library-package names it, or when it holds an index.adoc and no topic.
  • Method Details

    • values

      public static PackageKind[] 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

      public static PackageKind valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • label

      public String label()
      The kind as the manifest writes it.
      Returns:
      the lowercase name