Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for getSchema (0.16 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ExtensionsStorage.java

                rawExtensions.put(entry.getKey(), entry.getValue().get());
            }
            return rawExtensions;
        }
    
        public ExtensionsSchema getSchema() {
            return DefaultExtensionsSchema.create(extensions.values());
        }
    
        public <T> T configureExtension(String name, Action<? super T> action) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 17 11:25:34 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelectorSpec.groovy

            then:
            result instanceof BrokenResolvedArtifactSet
            result.failure instanceof ArtifactVariantSelectionException
    
            1 * variantSet.getSchema() >> attributesSchema
            1 * variantSet.getOverriddenAttributes() >> ImmutableAttributes.EMPTY
            2 * attributeMatcher.matches(_, _, _) >> [variant, otherVariant]
            2 * attributeMatcher.isMatching(_, _, _) >> true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelTypeInitializationException.java

                    s.append(String.format("Its property '%s %s' is not a valid managed collection%n", propertyType.getName(), propertyName));
                    CollectionSchema<?, ?> schema = (CollectionSchema) schemaStore.getSchema(propertyType);
                    s.append(String.format("A managed collection can not contain '%s's%n", schema.getElementType()));
                    appendManagedCollections(s, 1, constructibleTypes);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/projection/ManagedModelProjection.java

                    }
    
                    private <T> Object doSet(String name, Object value, ModelProperty<T> property) {
                        ModelSchema<T> propertySchema = property.getSchema();
    
                        // TODO we are relying on the registration having established these links, we should be checking
                        MutableModelNode propertyNode = modelNode.getLink(name);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/StructNodeInitializer.java

                                         NodeInitializerRegistry nodeInitializerRegistry
        ) {
            ModelType<P> propertyType = property.getType();
            ModelSchema<P> propertySchema = schemaStore.getSchema(propertyType);
            ModelType<T> publicType = bindings.getPublicSchema().getType();
    
            validateProperty(propertySchema, property, nodeInitializerRegistry);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  6. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/ApacheDirectoryListingParser.java

            final String baseURIScheme = baseURI.getScheme();
    
            List<String> uris = new ArrayList<String>();
            final String prefixPath = baseURI.getPath();
            for (URI parsedURI : inputURIs) {
                if (parsedURI.getHost() != null && !parsedURI.getHost().equals(baseURIHost)) {
                    continue;
                }
                if (parsedURI.getScheme() != null && !parsedURI.getScheme().equals(baseURIScheme)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ClasspathUtil.java

                location = toURI(resource);
                String path = location.getPath();
                if (location.getScheme().equals("file")) {
                    assert path.endsWith("/" + name);
                    return new File(path.substring(0, path.length() - (name.length() + 1)));
                } else if (location.getScheme().equals("jar")) {
                    String schemeSpecificPart = location.getRawSchemeSpecificPart();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/library/urls.go

    //
    //     <URL>.getScheme() <string>
    //     <URL>.getHost() <string>
    //     <URL>.getHostname() <string>
    //     <URL>.getPort() <string>
    //     <URL>.getEscapedPath() <string>
    //     <URL>.getQuery() <map <string>, <list <string>>
    //
    // Examples:
    //
    //	url('/path').getScheme() // returns ''
    //	url('https://example.com/').getScheme() // returns 'https'
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/layout/ResolvedPattern.java

            this.pattern = pos < 0 ? "" : rawPattern.substring(pos);
            scheme = baseUri.getScheme().toLowerCase();
            absolutePattern = constructAbsolutePattern(baseUri, pattern);
        }
    
        public ResolvedPattern(URI baseUri, String pattern) {
            this.baseUri = baseUri;
            this.pattern = pattern;
            scheme = baseUri.getScheme().toLowerCase();
            absolutePattern = constructAbsolutePattern(baseUri, pattern);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3ConnectionProperties.java

            URI uri = null;
            if (StringUtils.isNotBlank(property)) {
                try {
                    uri = new URI(property);
                    if (StringUtils.isBlank(uri.getScheme()) || !SUPPORTED_SCHEMES.contains(uri.getScheme().toUpperCase())) {
                        throw new IllegalArgumentException("System property [" + S3_ENDPOINT_PROPERTY + "=" + property + "] must have a scheme of 'http' or 'https'");
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top