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
|
Method Summary |
Dashboard |
convertStateToDashboard(com.atlassian.gadgets.dashboard.DashboardState state,
com.atlassian.gadgets.GadgetRequestContext gadgetRequestContext)
Creates a Dashboard from a DashboardState |
Gadget |
convertStateToGadget(com.atlassian.gadgets.GadgetState state,
com.atlassian.gadgets.GadgetRequestContext gadgetRequestContext)
Creates a Gadget from a GadgetState |
| 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(com.atlassian.gadgets.dashboard.DashboardState state,
com.atlassian.gadgets.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(com.atlassian.gadgets.GadgetState state,
com.atlassian.gadgets.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 © 2014 Atlassian. All Rights Reserved.