com.atlassian.jira.ajsmeta
Class HtmlMetadataManager
java.lang.Object
com.atlassian.jira.ajsmeta.HtmlMetadataManager
@Internal
public final class HtmlMetadataManager
- extends Object
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
.
- Since:
- v5.2
Constructor Summary |
HtmlMetadataManager(JiraWebResourceManager webResourceManager,
BuildUtilsInfo buildUtilsInfo,
JiraAuthenticationContext authenticationContext,
ApplicationProperties applicationProperties,
KeyboardShortcutManager keyboardShortcutManager,
VelocityRequestContextFactory velocityRequestContextFactory,
FeatureManager featureManager,
ProductVersionDataBeanProvider productVersionDataBeanProvider,
GoogleSiteVerification googleSiteVerification,
PermissionManager permissionManager,
MailSettings mailSettings,
JiraProperties jiraSystemProperties)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlMetadataManager
public HtmlMetadataManager(JiraWebResourceManager webResourceManager,
BuildUtilsInfo buildUtilsInfo,
JiraAuthenticationContext authenticationContext,
ApplicationProperties applicationProperties,
KeyboardShortcutManager keyboardShortcutManager,
VelocityRequestContextFactory velocityRequestContextFactory,
FeatureManager featureManager,
ProductVersionDataBeanProvider productVersionDataBeanProvider,
GoogleSiteVerification googleSiteVerification,
PermissionManager permissionManager,
MailSettings mailSettings,
JiraProperties jiraSystemProperties)
includeMetadata
public void includeMetadata(Writer writer)
throws IOException
- Includes the metadata in HTML <meta> elements in the page <head>.
- Parameters:
writer
- a Writer
- Throws:
IOException
- if there is a problem writing to writer
getVersionBean
public ProductVersionDataBean getVersionBean()
Copyright © 2002-2013 Atlassian. All Rights Reserved.