| java.lang.Object |
| ↳ |
com.atlassian.plugin.web.NoOpContextProvider |
Class Overview
A ContextProvider implementation that just passes the given context back. Used when no Context Provider has
been specified in the ModuleDescriptor.
Summary
| Public Methods |
|
Map<String, Object>
|
getContextMap(Map<String, Object> context)
Gets the additional context map to make available for the web fragment
|
|
void
|
init(Map<String, String> params)
Called after creation and autowiring.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.plugin.web.ContextProvider
|
abstract
Map<String, Object>
|
getContextMap(Map<String, Object> context)
Gets the additional context map to make available for the web fragment
|
|
abstract
void
|
init(Map<String, String> params)
Called after creation and autowiring.
|
|
Public Constructors
public
NoOpContextProvider
()
Public Methods
public
Map<String, Object>
getContextMap
(Map<String, Object> context)
Gets the additional context map to make available for the web fragment
Parameters
| context
| immutable render context provided by the app. |
Returns
- context map for velocity templates
public
void
init
(Map<String, String> params)
Called after creation and autowiring.
Parameters
| params
| The optional map of parameters specified in XML.
|