Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 159 for SETTER (0.1 sec)

  1. pkg/log/config.go

    func processLevels(allScopes map[string]*Scope, arg string, setter func(*Scope, Level)) error {
    	levels := strings.Split(arg, ",")
    	for _, sl := range levels {
    		s, l, err := convertScopedLevel(sl)
    		if err != nil {
    			return err
    		}
    
    		if scope, ok := allScopes[s]; ok {
    			setter(scope, l)
    		} else if s == OverrideScopeName {
    			// override replaces everything
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeAnnotatedMethodReader.java

                            requests.add(groovyPropertyRequest);
                            requests.add(jvmGetterRequest);
                            break;
                        case SETTER:
                            CallInterceptionRequest jvmSetterRequest = createJvmSetterInterceptionRequest(accessorSpec, method);
                            requests.add(jvmSetterRequest);
                            break;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/properties_providers.adoc

    A mutable managed property is declared using an abstract getter method of type `Property<T>`, where `T` can be any serializable type or a <<#managed_types,fully managed Gradle type>>.
    The property must not have any setter methods.
    
    Here is an example of a task type with an `uri` property of type `URI`:
    
    [source,java]
    .Download.java
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/TestReport.java

    import static org.gradle.internal.instrumentation.api.annotations.ReplacedAccessor.AccessorType.GETTER;
    import static org.gradle.internal.instrumentation.api.annotations.ReplacedAccessor.AccessorType.SETTER;
    import static org.gradle.internal.instrumentation.api.annotations.ReplacesEagerProperty.BinaryCompatibility.ACCESSORS_KEPT;
    import static org.gradle.util.internal.CollectionUtils.collect;
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/annotations/ReplacesEagerProperty.java

         * ListProperty[T] -> original type becomes List[T]
         * ConfigurableFileCollection -> original type becomes FileCollection
         */
        Class<?> originalType() default DefaultValue.class;
    
        /**
         * Whether the setter accessor for property was fluent
         */
        boolean fluentSetter() default false;
    
        /**
         * Configuration for binary compatibility check, see {@link BinaryCompatibility}
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/ManagedProperty.java

     * types declaring the struct only specify the property via a getter, then the managed property will be read-only. However, if
     * even one of the view types declare a setter for the property, it will be a read-write property. </p>
     *
     * <p>Different views can declare the same getter with different return types. In such a case the type of the managed property
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescDefaultPropertySetterSymbol.kt

            override val analysisContext: Fe10AnalysisContext
        ) : KaValueParameterSymbol(), KaFe10Symbol {
            val descriptor: ValueParameterDescriptor?
                get() = propertyDescriptor.setter?.valueParameters?.singleOrNull()
    
            override val hasDefaultValue: Boolean
                get() = withValidityAssertion { false }
    
            override val isVararg: Boolean
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. internal/config/dns/operator_dns.go

    	if endpoint == "" {
    		return nil, errors.New("invalid argument")
    	}
    
    	args := &OperatorDNS{
    		Endpoint: endpoint,
    	}
    	for _, setter := range setters {
    		setter(args)
    	}
    	args.httpClient = &http.Client{
    		Transport: &http.Transport{
    			Proxy: http.ProxyFromEnvironment,
    			DialContext: (&net.Dialer{
    				Timeout:   3 * time.Second,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  9. schema/field_test.go

    		"deleted_at": user.DeletedAt,
    		"age":        user.Age,
    		"birthday":   user.Birthday,
    		"active":     true,
    	}
    	checkField(t, userSchema, reflectValue, values)
    
    	var f *bool
    	// test setter
    	newValues := map[string]interface{}{
    		"name":       "valuer_and_setter_2",
    		"id":         2,
    		"created_at": time.Now(),
    		"updated_at": nil,
    		"deleted_at": time.Now(),
    		"age":        20,
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/JavadocUtils.java

                        kind == CallableKindInfo.GROOVY_PROPERTY_GETTER ? "Groovy property getter" :
                            kind == CallableKindInfo.GROOVY_PROPERTY_SETTER ? "Groovy property setter" : null;
        }
    
        public static CodeBlock interceptedCallableLink(CallInterceptionRequest request) {
            CodeBlock.Builder result = CodeBlock.builder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top