Enum Class ActionSource

java.lang.Object
java.lang.Enum<ActionSource>
ghidra.debug.api.action.ActionSource
All Implemented Interfaces:
Serializable, Comparable<ActionSource>, Constable

public enum ActionSource extends Enum<ActionSource>
Possible sources that drive actions or method invocations

This is primarily used to determine where and how errors should be reported. Granted, this is only one factor in determining how to deliver an error message. In general, actions which are taken automatically should not cause disruptive error messages.

  • Enum Constant Details

    • MANUAL

      public static final ActionSource MANUAL
      The action was requested by the user, usually via a UI action. It is acceptable to display an error message.
    • AUTOMATIC

      public static final ActionSource AUTOMATIC
      The action was requested automatically, usually by some background thread. Error messages should probably be delivered to the log or Debug Console, since displaying an error pop-up would seem to "come from nowhere."
  • Method Details

    • values

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