Enum ShortcutCreationOptions

java.lang.Object
java.lang.Enum<ShortcutCreationOptions>
net.sourceforge.jnlp.util.ShortcutCreationOptions
All Implemented Interfaces:
Serializable, Comparable<ShortcutCreationOptions>, java.lang.constant.Constable

public enum ShortcutCreationOptions extends Enum<ShortcutCreationOptions>
  • Enum Constant Details

  • Field Details

    • configName

      private final String configName
  • Constructor Details

    • ShortcutCreationOptions

      private ShortcutCreationOptions(String configName)
  • Method Details

    • values

      public static ShortcutCreationOptions[] 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 ShortcutCreationOptions 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
    • getConfigName

      public String getConfigName()
    • forConfigName

      public static Optional<ShortcutCreationOptions> forConfigName(String configName)