All Downloads are FREE. Search and download functionalities are using the official Maven repository.

s.support.support-confluence.5.4.0.source-code.atlassian-plugin.xml Maven / Gradle / Ivy

Go to download

This is a support library for Confluence plugins, providing some commonly-used classes and libraries.

The newest version!
<atlassian-plugin key="${atlassian.plugin.key}" name="${pom.name}" plugins-version="2">
    <plugin-info>
        <description>${pom.description}</description>
        <version>${pom.version}</version>
        <vendor name="${pom.organization.name}" url="${pom.organization.url}"/>
    </plugin-info>

    <component key="contextAssistant" name="Context Assistant" public="true"
               class="org.randombits.support.confluence.DefaultContextAssistant"
               i18n-name-key="org.randombits.confluence.support.name">
        <description>Provides information about macro execution context.</description>
        <interface>org.randombits.support.confluence.ContextAssistant</interface>
    </component>

    <component key="linkAssistant" name="Link Assistant" public="true"
               class="org.randombits.support.confluence.DefaultLinkAssistant">
        <description>Provides services for creating and following Confluence links.</description>
        <interface>org.randombits.support.confluence.LinkAssistant</interface>
    </component>

    <component key="servletAssistant" name="Servlet Assistant" public="true"
               class="org.randombits.support.confluence.DefaultServletAssistant">
        <description>Provides HTTP Servlet request/response discovery services.</description>
        <interface>org.randombits.support.confluence.ServletAssistant</interface>
    </component>

    <component key="macroAssistant" name="Macro Assistant" public="true"
               class="org.randombits.support.confluence.DefaultMacroAssistant">
        <description>Provides services to ConfluenceMacros.</description>
        <interface>org.randombits.support.confluence.MacroAssistant</interface>
    </component>

    <component key="renderAssistant" name="Render Assistant" public="true"
               class="org.randombits.support.confluence.render.DefaultRenderAssistant">
        <description>Provides a simple interface for rendering content of different types.</description>
        <interface>org.randombits.support.confluence.render.RenderAssistant</interface>
    </component>

    <!-- Environment Providers -->

    <environment-provider key="xworkServletProvider" name="XWork Servlet Environment Provider" weight="100"
                          class="org.randombits.support.confluence.env.XWorkServletProvider">

        <description>
            Provides access to HttpServletRequest and related classes via the EnvironmentAssistant
            when executing in an XWork Action context.
        </description>

    </environment-provider>

    <environment-provider key="pageInfoConfluenceContentProvider" name="Confluence Content Environment Provider"
                          class="org.randombits.support.confluence.env.PageInfoConfluenceContentProvider">
        <description>
            Provides access to the current ContentEntityObject being executed via a ConfluenceMacro.
        </description>
    </environment-provider>

    <environment-provider key="conversionContextProvider" name="Conversion Context Environment Provider"
                          class="org.randombits.support.confluence.env.MacroInfoConversionContextProvider">
        <description>
            Provides access the the ConversionContext that is currently being rendered in.
        </description>
    </environment-provider>

    <environment-provider key="userProvider" name="User Environment Provider"
                          class="org.randombits.support.confluence.env.AuthenticatedUserProvider">
        <description>Provides access to the com.atlassian.user.User currently authenticated.</description>
    </environment-provider>

    <!-- Date Converters -->
    <converter key="dateToDateTimeConverter" name="Java Date to Joda DateTime Converter"
               class="org.randombits.support.confluence.convert.date.DateToDateTimeConverter"/>
    <converter key="readableDateTimeToDateConverter" name="Joda ReadableDateTime to Java Date Converter"
               class="org.randombits.support.confluence.convert.date.ReadableDateTimeToDateConverter"/>

    <!-- Search Result converters -->
    <converter key="searchResultToAttachmentConverter" name="Search Result to Attachment Converter"
               class="org.randombits.support.confluence.convert.search.SearchResultToAttachmentConverter"/>
    <converter key="searchResultToBlogPostConverter" name="Search Result to Blog Post Converter"
               class="org.randombits.support.confluence.convert.search.SearchResultToBlogPostConverter"/>
    <converter key="searchResultToCommentConverter" name="Search Result to Comment Converter"
               class="org.randombits.support.confluence.convert.search.SearchResultToCommentConverter"/>
    <converter key="searchResultToPageConverter" name="Search Result to Page Converter"
               class="org.randombits.support.confluence.convert.search.SearchResultToPageConverter"/>
    <converter key="searchResultToSpaceConverter" name="Search Result to Space Converter"
               class="org.randombits.support.confluence.convert.search.SearchResultToSpaceConverter"/>

    <!-- Todo: Mail converter currently disabled because it fails to load in Confluence for an unknown reason... -->
    <!-- <converter key="searchResultToMailConverter" name="Search Result to Mail Converter"
               class="org.randombits.support.confluence.convert.search.SearchResultToMailConverter"/> -->

    <!-- User Converters -->
    <converter key="stringToUserConverter" name="String to User Converter"
               class="org.randombits.support.confluence.convert.user.StringToUserConverter"/>
    <converter key="userProfileToUserConverter" name="SAL User Profile to Atlassian User Converter"
               class="org.randombits.support.confluence.convert.user.UserProfileToUserConverter"/>
    <converter key="userToUserProfileConverter" name="Atlassian User to User Profile Converter"
               class="org.randombits.support.confluence.convert.user.UserToUserProfileConverter"/>

    <!-- Renderable Converters -->
    <converter key="bodyContentToRenderableConverter" name="BodyContent to Renderable Converter"
               class="org.randombits.support.confluence.render.BodyContentToRenderableConverter"/>

    <!-- Component Imports -->
    <component-import key="environmentAssistant" name="Environment Assistant Import"
                      interface="org.randombits.support.core.env.EnvironmentAssistant"/>
    <component-import key="conversionAssistant" name="Conversion Assistant Import"
                      interface="org.randombits.support.core.convert.ConversionAssistant"/>

    <component-import key="anyTypeDao" name="Any Type DAO Import"
                      interface="com.atlassian.confluence.core.persistence.AnyTypeDao"/>
    <component-import key="userAccessor" name="Atlassian User Accessor Import"
                      interface="com.atlassian.confluence.user.UserAccessor"/>
    <component-import key="userManager" name="SAL User Manager Import"
                      interface="com.atlassian.sal.api.user.UserManager"/>
    <component-import key="pageTemplateManager" name="Page Template Manager Import"
                      interface="com.atlassian.confluence.pages.templates.PageTemplateManager"/>
    <component-import key="pageManager" name="Page Manager Import"
                      interface="com.atlassian.confluence.pages.PageManager"/>
    <component-import key="permissionManager" name="Permission Manager Import"
                      interface="com.atlassian.confluence.security.PermissionManager"/>
    <component-import key="contextPathHolder" name="Context Path Holder Import"
                      interface="com.atlassian.confluence.core.ContextPathHolder"/>
    <component-import key="linkManager" name="Link Manager Import"
                      interface="com.atlassian.confluence.links.LinkManager"/>
    <component-import key="parameterAssistant" name="Parameter Assistant Import"
                      interface="org.randombits.support.core.param.ParameterAssistant"/>

</atlassian-plugin>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy