public interface

ContextProvider

com.atlassian.plugin.web.ContextProvider
Known Indirect Subclasses

Class Overview

Main purpose of this is to add additional context entries for the web fragment and make it available within the XML

Summary

Public Methods
Map<StringObject> getContextMap(Map<StringObject> context)
Gets the additional context map to make available for the web fragment
void init(Map<StringString> params)
Called after creation and autowiring.

Public Methods

public Map<StringObject> getContextMap (Map<StringObject> 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<StringString> params)

Called after creation and autowiring.

Parameters
params The optional map of parameters specified in XML.