Class NotifyConletModel

java.lang.Object
org.jgrapes.core.internal.EventBase<Void>
org.jgrapes.core.Event<Void>
org.jgrapes.webconsole.base.events.NotifyConletModel
All Implemented Interfaces:
Future<Void>, Associator, Eligible

public class NotifyConletModel extends Event<Void>
A decoded notification (as defined by the JSON RPC specification) that invokes a method on a web console component model.

Usually, though not necessarily, the web console component component responds by sending a NotifyConletView to update the web console component representation.

Event Sequence

  • Constructor Details

    • NotifyConletModel

      public NotifyConletModel(RenderSupport renderSupport, String conletId, String method, Object[] params)
      Creates a new event.
      Parameters:
      renderSupport - the render support from the web console in case the response requires it
      conletId - the web console component model that the notification is directed at
      method - the method to be executed
      params - parameters
  • Method Details

    • renderSupport

      Returns the render support.
      Returns:
      the render support
    • conletId

      public String conletId()
      Returns the web console component id.
      Returns:
      the web console component id
    • method

      public String method()
      Returns the method.
      Returns:
      the method
    • params

      public Object[] params()
      Returns the parameters.
      Returns:
      the parameters
    • param

      public <T> T param(int index)
      Returns the selected param, cast to the generic type.
      Type Parameters:
      T - the generic type
      Parameters:
      index - the index
      Returns:
      the t