Skip to content

Event Cause Refactor #1184

Description

@gabizou

Currently, the first iteration of Cause usage was useful for a variety of things, however, we've come to a point where we need to separate what is the "cause" of an event versus the "context" of an event.

One of the things that would take place would be the following:

Event gains a new getter for the direct cause of an event, possibly will recycle Cause.

Event also gains a new getter for the context such as EventContext, of which named objects are included, a method simply named as Event#getContext() or possibly getEventContext.

Of course, this will not take place until likely 1.9 as a majority of breaking changes are taking place there.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions