Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for describeContents (0.26 sec)

  1. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionInternal.java

         * @return the display name
         */
        String getDisplayName();
    
        /**
         * Appends diagnostic information about the contents of this collection to the given formatter.
         */
        TreeFormatter describeContents(TreeFormatter formatter);
    
        /**
         * Calculates the execution time value of this file collection. The resulting value is serialized to the configuration cache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 14:55:28 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java

         */
        protected abstract String describeContents();
    
        // This method is final - implement describeContents() instead
        @Override
        protected final String toStringNoReentrance() {
            if (displayName != null) {
                return displayName.toString();
            } else {
                return describeContents();
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionBackedFileTree.java

        }
    
        @Override
        protected void appendContents(TreeFormatter formatter) {
            formatter.node("backing collection");
            formatter.startChildren();
            collection.describeContents(formatter);
            formatter.endChildren();
        }
    
        public AbstractFileCollection getCollection() {
            return collection;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:50 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProperty.java

        }
    
        @Override
        protected boolean isDefaultConvention() {
            return getConventionSupplier() == NOT_DEFINED;
        }
    
        @Override
        protected String describeContents() {
            // NOTE: Do not realize the value of the Provider in toString().  The debugger will try to call this method and make debugging really frustrating.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileCollection.java

            return getDisplayName();
        }
    
        /**
         * This is final - override {@link #appendContents(TreeFormatter)}  instead to add type specific content.
         */
        @Override
        public final TreeFormatter describeContents(TreeFormatter formatter) {
            formatter.node("collection type: ").appendType(getClass()).append(" (id: ").append(String.valueOf(System.identityHashCode(this))).append(")");
            formatter.startChildren();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFileCollectionFactory.java

            }
    
            private void appendItem(TreeFormatter formatter, Object item) {
                if (item instanceof FileCollectionInternal) {
                    ((FileCollectionInternal) item).describeContents(formatter);
                } else if (item instanceof ArrayList) {
                    for (Object child : (List) item) {
                        appendItem(formatter, child);
                    }
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 18:57:37 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java

                formatter.startChildren();
                for (Object path : paths) {
                    if (path instanceof FileCollectionInternal) {
                        ((FileCollectionInternal) path).describeContents(formatter);
                    } else {
                        formatter.node(path.toString());
                    }
                }
                formatter.endChildren();
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java

            setConvention(new CollectingSupplier(new ElementsFromCollectionProvider<>(Providers.internal(provider))));
            return this;
        }
    
        @Override
        protected String describeContents() {
            String typeDisplayName = TextUtil.toLowerCaseLocaleSafe(collectionType.getSimpleName());
            return String.format("%s(%s, %s)", typeDisplayName, elementType, describeValue());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultMapProperty.java

            if (newValue != null) {
                set(newValue);
            } else {
                set((Map<? extends K, ? extends V>) null);
            }
        }
    
        @Override
        protected String describeContents() {
            return String.format("Map(%s->%s, %s)", keyType.getSimpleName(), valueType.getSimpleName(), describeValue());
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top