Package com.pnfsoftware.jeb.core.events
Enum Class J
- All Implemented Interfaces:
Serializable,Comparable<J>,Constable
JEB back-end event types. Used by
JebEvent.
The five general categories of event types:
- Context
- Project
- Artifact
- Unit
- Other (e.g. notifications)
debugger units are allowed to issue events of type Dbg*.
Generally, an event is issued by the object of concern. That means that the
source attribute will reference the object that both issued and is
concerned by the event. Additional information may be placed in the data attribute.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIssued by aprojectwhen one of its children was destroyedIssued by aprojectafter processing an artifact.Issued by anartifactto notify that one of its properties was changed.This event is issued byINativeCodeUnitwhen a code analysis is completed.Issued by acontextat the end of the closing process.Issued by acontextafter initialization.This event type signals a critical, unrecoverable error.The debugger has attached to a targetA breakpoint was addedA breakpoint was removedDebugger-issued notification (information) to JEB clientsThe debugger has detached from a target (the target may or may not be alive)The target (or part of it) is being paused/suspendedThe target (or part of it) is being run or resumedAn asynchronous event was generated by the debugged target.
Example: breakpoint hit, exception, thread started/ended, library code loaded/unloaded, etc.
`data` is of typeIDebuggerEventData.The default thread was changedA thread was paused by the debuggerA thread was suspended by the debuggerDecompiler-issued notification (information) to JEB clients.Adecompiled source unitwas reset.This event type is used byfloating controllersto notifyfloating clientsof licensing events.This event type is used to notify clients of various generic events.Issued by aprojectbefore starting the closing process.Issued by thecontextafter a project was loaded or created.Issued by aprojectto notify that one of its properties was changed.Issued by thecontextafter a project was saved.Issued by thecontextafter a project was closed.Apropertywas updated.Issued by aunitwhen its contents was changed.Issued by aparent unitafter a child unit was addedIssued by aparent unitwhen one of its children was destroyedIssued by aunitat the end of disposal processIssued by aunitto notify thatprocessingis complete.A property of the unit has changed, e.g.Thestatusof the unit has changed -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisArtifactEvent(IEvent event) static booleanisContextEvent(IEvent event) static booleanisDebuggerEvent(IEvent event) static booleanisDecompilerEvent(IEvent event) static booleanisProjectEvent(IEvent event) static booleanisUnitEvent(IEvent event) static JReturns the enum constant of this class with the specified name.static J[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CoreError
This event type signals a critical, unrecoverable error.`data` is a string message containing the core status
-
Notification
This event type is used to notify clients of various generic events.`data` should be of type
ClientNotification. -
FloatingNotification
This event type is used byfloating controllersto notifyfloating clientsof licensing events. (Specific to JEB Pro Floating build types.)`data` should be of type
ControllerNotification. -
ContextInitialized
Issued by acontextafter initialization. -
ContextClosed
Issued by acontextat the end of the closing process. -
ProjectLoaded
Issued by thecontextafter a project was loaded or created. -
ProjectSaved
Issued by thecontextafter a project was saved. -
ProjectUnloaded
Issued by thecontextafter a project was closed. -
ProjectClosing
Issued by aprojectbefore starting the closing process. -
ProjectPropertyChanged
Issued by aprojectto notify that one of its properties was changed. -
ArtifactProcessed
Issued by aprojectafter processing an artifact. -
ArtifactDestroyed
Issued by aprojectwhen one of its children was destroyed -
ArtifactPropertyChanged
Issued by anartifactto notify that one of its properties was changed. -
UnitCreated
Issued by aparent unitafter a child unit was added -
UnitDisposed
Issued by aunitat the end of disposal process -
UnitDestroyed
Issued by aparent unitwhen one of its children was destroyed -
UnitProcessed
Issued by aunitto notify thatprocessingis complete. -
UnitChange
Issued by aunitwhen its contents was changed.`data` may reference an
UnitChangeEventDataobject; the attributes of that object are specific to the unit that generated the event. -
UnitPropertyChanged
A property of the unit has changed, e.g. the name or description -
UnitStatusChanged
Thestatusof the unit has changed -
CodeAnalysisCompleted
This event is issued byINativeCodeUnitwhen a code analysis is completed. Be careful, this event may be sent before or after theUnitProcessedis fired:
- if the analysis is synchronous, the UnitProcessed event is always received after this event.
- if the analysis is asynchronous, the UnitProcessed event is likely to be received before this event. -
DbgClientNotification
Debugger-issued notification (information) to JEB clients -
DbgAttach
The debugger has attached to a target -
DbgDetach
The debugger has detached from a target (the target may or may not be alive) -
DbgRun
The target (or part of it) is being run or resumed -
DbgPause
The target (or part of it) is being paused/suspended -
DbgThreadDefault
The default thread was changed -
DbgThreadResumed
A thread was paused by the debugger -
DbgThreadSuspended
A thread was suspended by the debugger -
DbgBreakpointSet
A breakpoint was added -
DbgBreakpointUnset
A breakpoint was removed -
DbgTargetEvent
An asynchronous event was generated by the debugged target.
Example: breakpoint hit, exception, thread started/ended, library code loaded/unloaded, etc.
`data` is of typeIDebuggerEventData. -
DecompClientNotification
Decompiler-issued notification (information) to JEB clients. More specialized than the genericNotification -
DecompSrcUnitResetEvent
Adecompiled source unitwas reset.`data` holds the source unit reference attribute.
-
PropertyChange
Apropertywas updated.`data` will hold a
PropertyChangeNotificationobject
-
-
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
-
isContextEvent
-
isProjectEvent
-
isArtifactEvent
-
isUnitEvent
-
isDebuggerEvent
-
isDecompilerEvent
-