Enum VersionModifier

java.lang.Object
java.lang.Enum<VersionModifier>
net.adoptopenjdk.icedteaweb.jnlp.version.VersionModifier
All Implemented Interfaces:
Serializable, Comparable<VersionModifier>, java.lang.constant.Constable

public enum VersionModifier extends Enum<VersionModifier>
Enum of all modifiers as defined for VersionRanges as defined by JSR-56 Specification, Appendix A.
  • Enum Constant Details

  • Field Details

    • symbol

      private String symbol
  • Constructor Details

    • VersionModifier

      private VersionModifier(String symbol)
  • Method Details

    • values

      public static VersionModifier[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static VersionModifier 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 name
      NullPointerException - if the argument is null
    • symbol

      public String symbol()