@Internal public final class

HtmlMetadataManager

extends Object
java.lang.Object
   ↳ com.atlassian.jira.ajsmeta.HtmlMetadataManager

@Internal

This class is an internal implementation detail and will change without notice.

Clients that depend on @Internal classes and interfaces can not expect to be compatible with any version other than the version they were compiled against (even minor version and milestone releases may break binary compatibility with respect to @Internal elements).

Class Overview

The metadata that gets included by default on all JIRA pages. Accessible in the browser by using AJS.Meta.get(String).

This is currently a hard-coded set of information but in the future we might think about making this a plugin point so that plugins can use AJS.Meta.

Summary

Public Constructors
HtmlMetadataManager(JiraWebResourceManager webResourceManager, BuildUtilsInfo buildUtilsInfo, JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, KeyboardShortcutManager keyboardShortcutManager, VelocityRequestContextFactory velocityRequestContextFactory, FeatureManager featureManager, ProductVersionDataBeanProvider productVersionDataBeanProvider, PermissionManager permissionManager, MailSettings mailSettings, JiraProperties jiraSystemProperties)
Public Methods
ProductVersionDataBean getVersionBean()
void includeMetadata(Writer writer)
Writes metadata as HTML <meta> tags.
void requireCommonMetadata()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public HtmlMetadataManager (JiraWebResourceManager webResourceManager, BuildUtilsInfo buildUtilsInfo, JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, KeyboardShortcutManager keyboardShortcutManager, VelocityRequestContextFactory velocityRequestContextFactory, FeatureManager featureManager, ProductVersionDataBeanProvider productVersionDataBeanProvider, PermissionManager permissionManager, MailSettings mailSettings, JiraProperties jiraSystemProperties)

Public Methods

public ProductVersionDataBean getVersionBean ()

public void includeMetadata (Writer writer)

Writes metadata as HTML <meta> tags.

Parameters
writer a Writer
Throws
IOException if there is a problem writing to writer

public void requireCommonMetadata ()