com.atlassian.gadgets.dashboard.spi.changes
Class UpdateGadgetUserPrefsChange
java.lang.Object
com.atlassian.gadgets.dashboard.spi.changes.UpdateGadgetUserPrefsChange
- All Implemented Interfaces:
- DashboardChange
public final class UpdateGadgetUserPrefsChange
- extends Object
- implements DashboardChange
Details of updating the user preferences of a gadget on a dashboard.
- Since:
- 2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateGadgetUserPrefsChange
public UpdateGadgetUserPrefsChange(GadgetId gadgetId,
Map<String,String> prefValues)
accept
public void accept(DashboardChange.Visitor visitor)
- Invokes the
Visitor
s Visitor#visit(UpdateGadgetUserPrefsChange)
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 updating user prefs for
- Returns:
- the id of the gadget we are updating user prefs for
getPrefValues
public Map<String,String> getPrefValues()
- Get the updated user pref values
- Returns:
- the updated user pref values
Copyright © 2011 Atlassian. All Rights Reserved.