com.atlassian.gadgets.dashboard.internal.rest
Interface ChangeGadgetColorHandler
- All Known Implementing Classes:
- ChangeGadgetColorHandlerImpl
public interface ChangeGadgetColorHandler
Interface for changing the color of a gadget on a dashboard.
setGadgetColor
javax.ws.rs.core.Response setGadgetColor(DashboardId dashboardId,
GadgetRequestContext gadgetRequestContext,
GadgetId gadgetId,
Color color)
- Sets the color of the specified gadget to the specified color.
- Parameters:
dashboardId - the dashboard hosting the gadgetgadgetRequestContext - the context of this requestgadgetId - the ID of the gadget to changecolor - the new color of the gadget
- Returns:
- a
Response for the client with details on the success
or failure
Copyright © 2011 Atlassian. All Rights Reserved.