Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for classProperties (0.1 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

                builder.build(doc)
                return doc
            }
    
            then:
            doc.classProperties.size() == 5
            doc.classProperties[0].name == 'a'
            doc.classProperties[1].name == 'b'
            doc.classProperties[2].name == 'c'
            doc.classProperties[3].name == 'd'
            doc.classProperties[4].name == 'e'
    
            _ * classMetaData.findProperty('b') >> propertyB
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertiesRenderer.java

            summarySection.appendChild(title);
            title.appendChild(document.createTextNode("Properties"));
    
            Collection<PropertyDoc> classProperties = classDoc.getClassProperties();
            if (!classProperties.isEmpty()) {
    
                Element table = document.createElement("table");
                summarySection.appendChild(table);
    
                title = document.createElement("title");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

        }
    
        @Override
        String getReplacement() {
            return classMetaData.replacement
        }
    
        Collection<PropertyDoc> getClassProperties() { return classProperties }
    
        void addClassProperty(PropertyDoc propertyDoc) {
            classProperties.add(propertyDoc.forClass(this))
        }
    
        Collection<MethodDoc> getClassMethods() { return classMethods }
    
        void addClassMethod(MethodDoc methodDoc) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

                </chapter>
            ''')
    
            ClassDoc classDoc = classDoc('org.gradle.Class', id: 'classId', content: sourceContent, comment: 'class comment')
            _ * classDoc.classProperties >> []
            _ * classDoc.classMethods >> []
            _ * classDoc.classBlocks >> []
            _ * classDoc.classExtensions >> []
            _ * classDoc.subClasses >> []
    
            when:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

                new ClassDocMethodsBuilder(javadocConverter, Mock(GenerationListener)).build(doc)
                doc
            }
    
            then:
            doc.classProperties.size() == 2
            doc.classProperties[0].name == 'block'
            doc.classProperties[1].name == 'listBlock'
    
            doc.classMethods.size() == 3
    
            doc.classBlocks.size() == 2
            doc.classBlocks[0].name == 'block'
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassExtensionDoc.groovy

            return extensionClasses
        }
    
        List<PropertyDoc> getExtensionProperties() {
            List<PropertyDoc> properties = []
            mixinClasses.each { mixin ->
                mixin.classProperties.each { prop ->
                    properties << prop.forClass(targetClass)
                }
            }
            extraProperties.each { prop ->
                properties << prop.forClass(targetClass)
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

                }
                classDoc.classBlocks.each { blockDoc ->
                    linkMetaData.addBlockMethod(blockDoc.blockMethod.metaData)
                }
                classDoc.classProperties.each { propertyDoc ->
                    linkMetaData.addPropertyAccessorMethod(propertyDoc.name, propertyDoc.metaData.getter ?: propertyDoc.metaData.setter)
                }
            } catch (Exception e) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.8K bytes
    - Viewed (0)
Back to top