mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
30.07.2007 d211e727d826c909aa562bb195696cde4b33e902
Update the package-info stylesheet so that it generates a suitable PublicAPI annotation for generated packages:

@org.opends.server.types.PublicAPI(
stability=org.opends.server.types.StabilityLevel.VOLATILE,
mayInstantiate=false,
mayExtend=false,
mayInvoke=true)
1 files modified
7 ■■■■ changed files
opends/resource/admin/package-info.xsl 7 ●●●● patch | view | raw | blame | history
opends/resource/admin/package-info.xsl
@@ -48,7 +48,7 @@
          <xsl:with-param name="content"
            select="concat('Provides introspection interfaces for the ',
                           normalize-space(adm:package/adm:synopsis),
                           ' This package provides programmatic access to ',
                           ' This package provides access to meta-',
                           'information about the managed objects, their ',
                           'properties, their relationships with other ',
                           'managed objects, and their inheritance model.')" />
@@ -88,6 +88,11 @@
      </xsl:otherwise>
    </xsl:choose>
    <xsl:value-of select="' */&#xa;'" />
    <xsl:value-of select="concat('@org.opends.server.types.PublicAPI(&#xa;',
                                 '    stability=org.opends.server.types.StabilityLevel.VOLATILE,&#xa;',
                                 '    mayInstantiate=false,&#xa;',
                                 '    mayExtend=false,&#xa;',
                                 '    mayInvoke=true)&#xa;')"/>
    <xsl:value-of
      select="concat('package ', adm:package/@name, '.', $type, ';&#xa;')" />
  </xsl:template>