Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for LinkMetaData (0.1 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/LinkMetaData.java

     */
    package gradlebuild.docs.dsl.links;
    
    import java.io.Serializable;
    
    public class LinkMetaData implements Serializable {
        public enum Style { Javadoc, Dsldoc }
    
        private final Style style;
        private final String displayName;
        private final String urlFragment;
    
        public LinkMetaData(Style style, String displayName, String urlFragment) {
            this.style = style;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaDataTest.groovy

            when:
            LinkMetaData linkMetaData = classLinkMetaData.getMethod("$METHOD_NAME()")
    
            then:
            linkMetaData != null
            linkMetaData.style == LinkMetaData.Style.Javadoc
            linkMetaData.displayName == "$SIMPLE_CLASSNAME.${METHOD_NAME}()"
            linkMetaData.urlFragment == "$METHOD_NAME--"
    
            when:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java

            }
            return candidates.get(0);
        }
    
        public LinkMetaData.Style getStyle() {
            return style;
        }
    
        public void setStyle(LinkMetaData.Style style) {
            this.style = style;
        }
    
        public void addMethod(MethodMetaData method, LinkMetaData.Style style) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.4K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

                def linkMetaData = linkRepository.get(classDoc.name)
                linkMetaData.style = LinkMetaData.Style.Dsldoc
                classDoc.classMethods.each { methodDoc ->
                    linkMetaData.addMethod(methodDoc.metaData, LinkMetaData.Style.Dsldoc)
                }
                classDoc.classBlocks.each { blockDoc ->
                    linkMetaData.addBlockMethod(blockDoc.blockMethod.metaData)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

                }
                String methodName = element.'@method'
    
                def classMetaData = linkRepository.get(className)
                LinkMetaData linkMetaData = methodName ? classMetaData.getMethod(methodName) : classMetaData.classLink
                String style = element.'@style' ?: linkMetaData.style.toString().toLowerCase(Locale.ROOT)
    
                Element ulinkElement = doc.createElement('ulink')
    
                String href
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top