com.atlassian.gadgets.dashboard.spi.changes
Class RemoveGadgetChange

java.lang.Object
  extended by com.atlassian.gadgets.dashboard.spi.changes.RemoveGadgetChange
All Implemented Interfaces:
DashboardChange

public final class RemoveGadgetChange
extends Object
implements DashboardChange

Details of removing a gadget from a dashboard.

Since:
2.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.gadgets.dashboard.spi.changes.DashboardChange
DashboardChange.Visitor
 
Constructor Summary
RemoveGadgetChange(com.atlassian.gadgets.GadgetId gadgetId)
           
 
Method Summary
 void accept(DashboardChange.Visitor visitor)
          Invokes the Visitors Visitor#visit(RemoveGadgetChange) method.
 com.atlassian.gadgets.GadgetId getGadgetId()
          Get the id of the gadget we are removing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveGadgetChange

public RemoveGadgetChange(com.atlassian.gadgets.GadgetId gadgetId)
Method Detail

accept

public void accept(DashboardChange.Visitor visitor)
Invokes the Visitors Visitor#visit(RemoveGadgetChange) method.

Specified by:
accept in interface DashboardChange
Parameters:
visitor - Visitor to invoke the specific visit method on.

getGadgetId

public com.atlassian.gadgets.GadgetId getGadgetId()
Get the id of the gadget we are removing

Returns:
the id of the gadget we are removing


Copyright © 2011 Atlassian. All Rights Reserved.