@Internal public final class HtmlMetadataManager extends Object
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
.
Constructor and Description |
---|
HtmlMetadataManager(JiraWebResourceManager webResourceManager,
BuildUtilsInfo buildUtilsInfo,
JiraAuthenticationContext authenticationContext,
ApplicationProperties applicationProperties,
KeyboardShortcutManager keyboardShortcutManager,
VelocityRequestContextFactory velocityRequestContextFactory,
FeatureManager featureManager,
ProductVersionDataBeanProvider productVersionDataBeanProvider,
PermissionManager permissionManager,
MailSettings mailSettings,
JiraProperties jiraSystemProperties,
ArchivingLicenseCheck archivingLicenseCheck) |
Modifier and Type | Method and Description |
---|---|
ProductVersionDataBean |
getVersionBean() |
void |
includeMetadata(Writer writer)
Writes metadata as HTML <meta> tags.
|
void |
requireCommonMetadata() |
public HtmlMetadataManager(JiraWebResourceManager webResourceManager, BuildUtilsInfo buildUtilsInfo, JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, KeyboardShortcutManager keyboardShortcutManager, VelocityRequestContextFactory velocityRequestContextFactory, FeatureManager featureManager, ProductVersionDataBeanProvider productVersionDataBeanProvider, PermissionManager permissionManager, MailSettings mailSettings, JiraProperties jiraSystemProperties, ArchivingLicenseCheck archivingLicenseCheck)
public void requireCommonMetadata()
public void includeMetadata(Writer writer) throws IOException
writer
- a WriterIOException
- if there is a problem writing to writer
public ProductVersionDataBean getVersionBean()
Copyright © 2002-2021 Atlassian. All Rights Reserved.