Class AddGadgetEvent

java.lang.Object
com.atlassian.gadgets.event.AddGadgetEvent

public class AddGadgetEvent extends Object
When a gadget is added to the directory, this event will be fired. Host applications can listen to this event and add an entry to their whitelist configuration for this gadgetUri to ensure that shindig can retrieve this gadget.
Please note that this event will be fired before the gadget spec has been validated. This is so that the host container has a chance to whitelist the location first such that shindig is actually allowed to retrieve the gadget spec so that it can be validated.
Since:
v3.0
  • Constructor Details

    • AddGadgetEvent

      public AddGadgetEvent(URI gadgetUri)
  • Method Details

    • getGadgetUri

      public URI getGadgetUri()