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 aproject
when one of its children was destroyedIssued by aproject
after processing an artifact.Issued by anartifact
to notify that one of its properties was changed.This event is issued byINativeCodeUnit
when a code analysis is completed.Issued by acontext
at the end of the closing process.Issued by acontext
after 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 unit
was reset.This event type is used byfloating controllers
to notifyfloating clients
of licensing events.This event type is used to notify clients of various generic events.Issued by aproject
before starting the closing process.Issued by thecontext
after a project was loaded or created.Issued by aproject
to notify that one of its properties was changed.Issued by thecontext
after a project was saved.Issued by thecontext
after a project was closed.Aproperty
was updated.Issued by aunit
when its contents was changed.Issued by aparent unit
after a child unit was addedIssued by aparent unit
when one of its children was destroyedIssued by aunit
at the end of disposal processIssued by aunit
to notify thatprocessing
is complete.A property of the unit has changed, e.g.Thestatus
of the unit has changed -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isArtifactEvent
(IEvent event) static boolean
isContextEvent
(IEvent event) static boolean
isDebuggerEvent
(IEvent event) static boolean
isDecompilerEvent
(IEvent event) static boolean
isProjectEvent
(IEvent event) static boolean
isUnitEvent
(IEvent event) static J
Returns 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 controllers
to notifyfloating clients
of licensing events. (Specific to JEB Pro Floating build types.)`data` should be of type
ControllerNotification
. -
ContextInitialized
Issued by acontext
after initialization. -
ContextClosed
Issued by acontext
at the end of the closing process. -
ProjectLoaded
Issued by thecontext
after a project was loaded or created. -
ProjectSaved
Issued by thecontext
after a project was saved. -
ProjectUnloaded
Issued by thecontext
after a project was closed. -
ProjectClosing
Issued by aproject
before starting the closing process. -
ProjectPropertyChanged
Issued by aproject
to notify that one of its properties was changed. -
ArtifactProcessed
Issued by aproject
after processing an artifact. -
ArtifactDestroyed
Issued by aproject
when one of its children was destroyed -
ArtifactPropertyChanged
Issued by anartifact
to notify that one of its properties was changed. -
UnitCreated
Issued by aparent unit
after a child unit was added -
UnitDisposed
Issued by aunit
at the end of disposal process -
UnitDestroyed
Issued by aparent unit
when one of its children was destroyed -
UnitProcessed
Issued by aunit
to notify thatprocessing
is complete. -
UnitChange
Issued by aunit
when its contents was changed.`data` may reference an
UnitChangeEventData
object; 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
Thestatus
of the unit has changed -
CodeAnalysisCompleted
This event is issued byINativeCodeUnit
when a code analysis is completed. Be careful, this event may be sent before or after theUnitProcessed
is 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 unit
was reset.`data` holds the source unit reference attribute.
-
PropertyChange
Aproperty
was updated.`data` will hold a
PropertyChangeNotification
object
-
-
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
-