| com.atlassian.plugin.web.WebFragmentHelper |
Provides application specific methods to build/render web fragments
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Look up a message key in the application
| |||||||||||
Creates a condition instance.
| |||||||||||
Creates a context provider instance.
| |||||||||||
Renders the string fragment as a Velocity template
| |||||||||||
Look up a message key in the application
| key | The message key |
|---|---|
| arguments | The arguments to use to replace tokens with any expressions already processed |
| context | The context (optional) |
Creates a condition instance. The following process should be used:
AutowireCapablePlugin
| className | the condition class name |
|---|---|
| plugin | the plugin from which the condition came |
| ConditionLoadingException | If the condition was unable to be created |
|---|
Creates a context provider instance. The following process should be used:
AutowireCapablePlugin
| className | the context provider class name |
|---|---|
| plugin | the plugin from which the context provider came |
| ConditionLoadingException | If the context provider was unable to be created |
|---|
Renders the string fragment as a Velocity template
| fragment | The string fragment to render |
|---|---|
| context | The context to use as the base of the Velocity context |