読者です 読者をやめる 読者になる 読者になる

tohokuaikiのチラシの裏

技術的ネタとか。

Confluenceのプラグイン開発を承ります。ご連絡はこちらのホームページからお願いいたします。

ConfluenceのMacroUtils.defaultVelocityContext()で得られるもの

confluence
Map<String, Object> defaultContext = MacroUtils.defaultVelocityContext();

で得られるもの一覧。

Map<String, Object> defaultContext = MacroUtils.defaultVelocityContext();
for (String key: defaultContext.keySet()){
    map.put(key, defaultContext.get(key));
}

とかしてVelocityテンプレートに充てておくと便利。

res com.atlassian.confluence.web.filter.DebugFilter$LoggingResponseWrapper
bootstrap com.atlassian.confluence.setup.DefaultBootstrapManager
settingsManager com.atlassian.confluence.setup.settings.DefaultSettingsManager
userAccessor com.atlassian.confluence.user.DefaultUserAccessor
seraph com.atlassian.confluence.util.SeraphUtils
xsrfTokenGenerator com.atlassian.xwork.SimpleXsrfTokenGenerator
contentUiSupport com.atlassian.confluence.content.ui.DefaultContentUiSupport
userHelper com.atlassian.confluence.user.UserHelper
setup com.atlassian.confluence.setup.DefaultBootstrapManager
darkFeatures com.atlassian.confluence.setup.settings.DarkFeatures
docBean com.atlassian.confluence.util.i18n.VersionSpecificDocumentationBean
action com.atlassian.confluence.pages.actions.ViewPageAction
generalUtil com.atlassian.confluence.util.GeneralUtil
attachmentManager com.atlassian.confluence.pages.CachingAttachmentManager
buildInfo 5.6.4 [build 5637 based on commit hash e1ef10868e8fe2f234a1a0b171b01cde1d9717c4]
pageManager com.atlassian.confluence.pages.DefaultPageManager
systemProperties com.atlassian.confluence.core.ConfluenceSystemProperties
docThemeHelper com.atlassian.confluence.plugins.doctheme.DocThemeHelper
stringUtils org.apache.commons.lang.StringUtils
setupPersister com.atlassian.confluence.setup.DefaultSetupPersister
deprecated com.atlassian.confluence.velocity.Deprecated
renderBean com.atlassian.confluence.util.QuickPageRenderBean
i18nBean com.atlassian.confluence.util.i18n.DefaultI18NBean
fileUtil com.atlassian.core.util.FileUtils
webwork com.opensymphony.webwork.util.VelocityWebWorkUtil
spaceManager com.atlassian.confluence.spaces.DefaultSpaceManager
textUtil com.opensymphony.util.TextUtils
spaceUtils com.atlassian.confluence.spaces.SpaceUtils
permissionHelper com.atlassian.confluence.security.PermissionHelper
spaceToolsTabsHelper com.atlassian.confluence.spaces.actions.SpaceToolsTabsHelper
applicationConfig com.atlassian.config.ApplicationConfig
webMenuManager com.atlassian.confluence.web.LegacyConfluenceWebMenuManager
utilTimerStack com.atlassian.util.profiling.UtilTimerStack
staticResourceUrlPrefix /confluence/s/ja_JP/5637/NOCACHE1/_
confluenceFlavour VANILLA
officeVelocityHelper com.atlassian.confluence.extra.office.velocity.VelocityHelper
webInterfaceManager com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager
jsonator com.atlassian.confluence.json.jsonator.DefaultJsonator
messageManager com.atlassian.confluence.util.message.DefaultMessageManager
licenseService com.atlassian.confluence.license.DefaultLicenseService
permissionCheckDispatcher com.atlassian.confluence.security.PermissionCheckDispatcher
webResourceManager com.atlassian.confluence.plugin.webresource.DefaultConfluenceWebResourceManager
i18n com.atlassian.confluence.util.i18n.DefaultI18NBean
soyTemplateRendererHelper com.atlassian.confluence.plugins.soy.VelocityFriendlySoyTemplateRenderer
req com.atlassian.confluence.web.filter.DebugFilter$DebugHttpServletRequestWrapper
webResourceHelper com.atlassian.confluence.setup.velocity.VelocityFriendlyPageBuilderService