Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 195 for PubType (0.17 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCompositeBuildProblemReportingIntegrationTest.groovy

                withProblem("Task `:inc:sub:broken` of type `org.gradle.api.DefaultTask`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.")
                problemsWithStackTraceCount = 2
            }
        }
    
        def "does not report problems in tasks that produce plugins"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/model/NamedObjectInstantiatorTest.groovy

            n1.isImmutable()
            def state = n1.unpackState()
            state == "a"
    
            def n2 = factory.fromState(Named, state)
            n2.is(n1)
        }
    
        def "creates instance of subtype of Named"() {
            expect:
            def n1 = factory.named(CustomNamed, "a")
            def n2 = factory.named(CustomNamed, "b")
    
            n1.is(n1)
            !n1.is(n2)
    
            n1.name == "a"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/model/internal/type/ModelType.java

         * this method succeeds, it always returns a reference to this {@code ModelType} object.
         *
         * @throws ClassCastException if this cannot be cast as the subtype of the given type.
         * @throws IllegalStateException if this is a wildcard.
         * @throws IllegalArgumentException if the given type is a wildcard.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/component/BaseComponentSpecTest.groovy

            component.projectPath == componentId.projectPath
            component.displayName == "SampleComponent '$componentId.name'"
            component.toString() == component.displayName
        }
    
        def "create fails if subtype does not have a public no-args constructor"() {
    
            when:
            create(ConstructedComponent, MyConstructedComponent)
    
            then:
            def e = thrown ModelRuleExecutionException
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/services/ServiceReference.java

     * registered with that name, it will be automatically assigned to the property when the
     * task is created.
     * </p>
     * <p>
     * It is an error to apply this annotation to a property whose type is not a subtype of {@link BuildService}.
     * </p>
     *
     * @since 8.0
     */
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target({ElementType.METHOD, ElementType.FIELD})
    @Incubating
    public @interface ServiceReference {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 28 15:30:24 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/TypeAnnotationMetadataStore.java

     *
     * <strong>Property annotation inheritance</strong>
     *
     * <p>
     * Property annotations are inherited from super-types on a per-category basis: subtypes can override each super-type annotation category separately.
     * If a subtype doesn't override a super-type defined category, the corresponding annotation in that category gets inherited.
     * Subtypes can mark methods to be ignored by using an ignore annotation.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/DefaultPolymorphicNamedEntityInstantiator.java

            if (!baseType.isAssignableFrom(type)) {
                String message = String.format("Cannot register a factory for type %s because it is not a subtype of container element type %s.", type.getSimpleName(), baseType.getSimpleName());
                throw new IllegalArgumentException(message);
            }
            if (factories.containsKey(type)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/services/BuildService.java

     * the service to tasks.</p>
     *
     * <p>A service implementation may optionally take parameters. To do this create a subtype of {@link BuildServiceParameters} and declare this
     * type as the type parameter to the service implementation.</p>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 21 20:09:51 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  9. internal/bucket/replication/rule.go

    		return errInvalidDeleteReplicationStatus
    	}
    	return nil
    }
    
    // UnmarshalXML - decodes XML data.
    func (d *DeleteReplication) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) (err error) {
    	// Make subtype to avoid recursive UnmarshalXML().
    	type deleteReplication DeleteReplication
    	drep := deleteReplication{}
    
    	if err := dec.DecodeElement(&drep, &start); err != nil {
    		return err
    	}
    	if len(drep.Status) == 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 24 23:22:20 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ClassToInstanceMap.java

       * Returns the value the specified class is mapped to, or {@code null} if no entry for this class
       * is present. This will only return a value that was bound to this specific class, not a value
       * that may have been bound to a subtype.
       */
      @CheckForNull
      <T extends @NonNull B> T getInstance(Class<T> type);
    
      /**
       * Maps the specified class to the specified value. Does <i>not</i> associate this value with any
       * of the class's supertypes.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top