com.atlassian.gadgets.dashboard.internal.impl
Class StateConverterImpl
java.lang.Object
com.atlassian.gadgets.dashboard.internal.impl.StateConverterImpl
- All Implemented Interfaces:
- StateConverter
public class StateConverterImpl
- extends Object
- implements StateConverter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StateConverterImpl
public StateConverterImpl(GadgetFactory gadgetFactory)
convertStateToDashboard
public Dashboard convertStateToDashboard(DashboardState state,
GadgetRequestContext gadgetRequestContext)
- Description copied from interface:
StateConverter
- Creates a
Dashboard from a DashboardState
- Specified by:
convertStateToDashboard in interface StateConverter
- Parameters:
state - the state to convertgadgetRequestContext - the context of this request
- Returns:
- the created
Dashboard
convertStateToGadget
public Gadget convertStateToGadget(GadgetState state,
GadgetRequestContext gadgetRequestContext)
- Description copied from interface:
StateConverter
- Creates a
Gadget from a GadgetState
- Specified by:
convertStateToGadget in interface StateConverter
- Parameters:
state - the state to convertgadgetRequestContext - the context of this request
- Returns:
- the created
Gadget
Copyright © 2011 Atlassian. All Rights Reserved.