A framework event.

interface FrameworkEvent {
    getBundle(): Bundle;
    getError(): undefined | Error;
    getSource(): Bundle;
    getType(): FrameworkEventTypes;
    getTypeName(): FrameworkEventNames;
}

Methods

  • Get the bundle associated with the event.

    Returns Bundle

    the bundle

  • Get the error if the event is of type ERROR.

    Returns undefined | Error

    the error or 'undefined'

  • Get the source bundle that was throwing the event.

    Returns Bundle

    the source bundle.