Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for PropertyDoc (0.13 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/PropertyDoc.groovy

    import gradlebuild.docs.dsl.source.model.ClassMetaData
    
    class PropertyDoc implements DslElementDoc {
        private final String id
        private final String name
        private final List<Element> comment
        private final List<ExtraAttributeDoc> additionalValues
        private final PropertyMetaData metaData
        private final ClassMetaData referringClass
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertyDetailRenderer.java

            title.appendChild(linkRenderer.link(propertyDoc.getMetaData().getType(), listener));
            title.appendChild(document.createTextNode(" "));
            Element literal = document.createElement("literal");
            title.appendChild(literal);
            literal.appendChild(document.createTextNode(propertyDoc.getName()));
    
            if (!propertyDoc.getMetaData().isProviderApi()) {
                if (!propertyDoc.getMetaData().isWriteable()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

            Map<String, PropertyDoc> props = new TreeMap<String, PropertyDoc>();
            List<ClassDoc> superTypes = classDoc.getSuperTypes();
            for (ClassDoc superType : superTypes) {
                LOG.info("Getting properties for {}", superType.getName());
                for (PropertyDoc propertyDoc : superType.getClassProperties()) {
    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

            ''')
    
            ClassDoc classDoc = classDoc('Class', content: content)
            PropertyDoc readWriteProperty = propertyDoc('readWriteProperty', readable: true, writeable: true)
            PropertyDoc readOnlyProperty = propertyDoc('readOnlyProperty', readable: true, writeable: false)
            PropertyDoc writeOnlyProperty = propertyDoc('writeOnlyProperty', readable: false, writeable: true)
    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/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)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

            PropertyDoc inheritedPropertyA = propertyDoc('a', additionalValues: [inheritedValue, overriddenValue])
            PropertyDoc inheritedPropertyB = propertyDoc('b', additionalValues: [inheritedValue, overriddenValue])
            PropertyDoc inheritedPropertyC = propertyDoc('c', additionalValues: [inheritedValue, overriddenValue])
    
            def content = parse('''
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/BlockDoc.groovy

    import gradlebuild.docs.dsl.source.model.TypeMetaData
    
    class BlockDoc implements DslElementDoc {
        private final MethodDoc blockMethod
        private final PropertyDoc blockProperty
        private final TypeMetaData type
        private boolean multiValued
    
        BlockDoc(MethodDoc blockMethod, PropertyDoc blockProperty, TypeMetaData type, boolean multiValued) {
            this.blockMethod = blockMethod
            this.type = type
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertiesRenderer.java

                for (PropertyDoc classProperty : classDoc.getClassProperties()) {
                    propertiesDetailRenderer.renderTo(classProperty, detailsSection);
                }
                for (ClassExtensionDoc extensionDoc : classDoc.getClassExtensions()) {
                    for (PropertyDoc propertyDoc : extensionDoc.getExtensionProperties()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ReferencedTypeBuilder.java

         */
        public void build(ClassDoc classDoc) {
            for (PropertyDoc propertyDoc : classDoc.getClassProperties()) {
                String referencedType = propertyDoc.getMetaData().getType().getName();
                if (!referencedType.equals(classDoc.getName())) {
                    model.findClassDoc(referencedType);
                }
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertyTableRenderer.java

     * limitations under the License.
     */
    
    package gradlebuild.docs.dsl.docbook;
    
    import gradlebuild.docs.dsl.docbook.model.PropertyDoc;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    
    public class PropertyTableRenderer {
        public void renderTo(Iterable<PropertyDoc> properties, Element parent) {
            Document document = parent.getOwnerDocument();
    
            // <thead>
            //   <tr>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.1K bytes
    - Viewed (0)
Back to top