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
abstract Map<StringObject> getContextMap(Map<StringObject> context)
Gets the additional context map to make available for the web fragment
abstract void init(Map<StringString> params)
Called after creation and autowiring.

Public Methods

public abstract 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 abstract void init (Map<StringString> params)

Called after creation and autowiring.

Parameters
params The optional map of parameters specified in XML.