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(GadgetId gadgetId)
           
 
Method Summary
 void accept(DashboardChange.Visitor visitor)
          Invokes the Visitors Visitor#visit(RemoveGadgetChange) method.
 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(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 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.