Package ghidra.debug.api.action
Enum Class ActionSource
- All Implemented Interfaces:
Serializable,Comparable<ActionSource>,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ActionSourceReturns the enum constant of this class with the specified name.static ActionSource[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MANUAL
The action was requested by the user, usually via a UI action. It is acceptable to display an error message. -
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
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
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 nameNullPointerException- if the argument is null
-