Enum Class KeyboardShortcutManager.Operation

java.lang.Object
java.lang.Enum<KeyboardShortcutManager.Operation>
com.atlassian.jira.plugin.keyboardshortcut.KeyboardShortcutManager.Operation
All Implemented Interfaces:
Serializable, Comparable<KeyboardShortcutManager.Operation>, Constable
Enclosing interface:
KeyboardShortcutManager

public static enum KeyboardShortcutManager.Operation extends Enum<KeyboardShortcutManager.Operation>
Defines the different operations that can be taken using a KeyboardShortcut. Operations are always coupled with a parameter which will generally be a jQuery selector or URL. The parameter can however also be more generic when coupled with the 'execute' operation where a generic javascript function can be specified as well.
  • Enum Constant Details

  • Method Details

    • values

      public static KeyboardShortcutManager.Operation[] 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 KeyboardShortcutManager.Operation 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