Notifier

Helper class that can be use to notify one or more components.

Description

The Notifier class is a helper class that can be use to notify one or more components.

Static methods

notify

Sets execution parameters.

static void notify(IContext? context, List? components, Parameters args)

  • context: IContext - (optional) a context to trace execution through a call chainn.
  • components: List? - list of components that are to be notified.
  • args: Parameters - notification arguments.

notifyOne

Notifies a specific component.

To be notiied, components must implement the INotifiable interface. If they don’t, the call to this method has no effect.

static void notifyOne(IContext? context, component, Parameters args)

  • context: IContext - (optional) a context to trace execution through a call chain.
  • component: dynamic - component that is to be notified.
  • args: Parameters - notifiation arguments.

See also