Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for writeOnly (0.15 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/ClassInspectorTest.groovy

            readOnly.setters.size() == 0
    
            def writeOnly = details.getProperty('writeOnly')
            writeOnly.getters.size() == 0
            writeOnly.setters.size() == 1
        }
    
        def "extracts properties from super interface"() {
            expect:
            def details = ClassInspector.inspect(SubInterface)
    
            details.propertyNames == ['prop', 'readOnly', 'writeOnly', 'other'] as Set
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 23:46:06 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-tooling-models/src/main/kotlin/org/gradle/declarative/dsl/schema/DataProperty.kt

            PropertyMode.ReadWrite::class,
            PropertyMode.ReadOnly::class,
            PropertyMode.WriteOnly::class
        ])
        sealed interface PropertyMode : Serializable {
            interface ReadWrite : PropertyMode
            interface ReadOnly : PropertyMode
            interface WriteOnly : PropertyMode
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:03 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaPropertyReflectionUtilTest.groovy

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/PropertyAccessorTypeTest.groovy

            when:
            bean.writeOnly = "ok"
    
            then:
            PropertyAccessorType.fromName('setWriteOnly') == PropertyAccessorType.SETTER
            PropertyAccessorType.of(DeviantBean.class.getMethod("setWriteOnly", String)) == PropertyAccessorType.SETTER
    
            !propertyNames.contains("writeOnly")
        }
    
        static class StaticMethods {
            static int getStatic() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/DefaultAnalysisSchema.kt

            @Serializable
            data object DefaultWriteOnly : PropertyMode.WriteOnly {
                private
                fun readResolve(): Any = DefaultWriteOnly
            }
        }
    }
    
    
    val DataProperty.isReadOnly: Boolean
        get() = mode is PropertyMode.ReadOnly
    
    
    val DataProperty.isWriteOnly: Boolean
        get() = mode is PropertyMode.WriteOnly
    
    
    @Serializable
    @SerialName("dataBuilderFunction")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/metaobject/BeanDynamicObjectTest.groovy

            def dynamicObject = new BeanDynamicObject(bean)
    
            when:
            dynamicObject.getProperty("writeOnly")
    
            then:
            def e = thrown(GroovyRuntimeException)
            e.message == "Cannot get the value of write-only property 'writeOnly' for object of type ${Bean.name}."
        }
    
        def "does not use propertyMissing() when object implements PropertyMixIn"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  7. helm/minio/values.yaml

    ##
    resources:
      requests:
        memory: 16Gi
    
    ## List of policies to be created after minio install
    ##
    ## In addition to default policies [readonly|readwrite|writeonly|consoleAdmin|diagnostics]
    ## you can define additional policies with custom supported actions and resources
    policies: []
    ## writeexamplepolicy policy grants creation or deletion of buckets with name
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 28 10:14:37 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. docs/multi-user/README.md

    ### 2. Create a new user with canned policy
    
    Use [`mc admin policy`](https://min.io/docs/minio/linux/reference/minio-mc-admin/mc-admin-policy.html) to create canned policies. Server provides a default set of canned policies namely `writeonly`, `readonly` and `readwrite` *(these policies apply to all resources on the server)*. These can be overridden by custom policies using `mc admin policy` command.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 21 06:38:06 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java

            assertThat(bean.getProp(), equalTo("value"));
    
            call("{ it.finalGetter 'another'}", bean);
            assertThat(bean.getFinalGetter(), equalTo("another"));
    
            call("{ it.writeOnly 12}", bean);
            assertThat(bean.writeOnly, equalTo(12));
    
            call("{ it.primitive 12}", bean);
            assertThat(bean.getPrimitive(), equalTo(12));
    
            call("{ it.bool true}", bean);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 74.6K bytes
    - Viewed (0)
  10. fastapi/openapi/models.py

        title: Optional[str] = None
        description: Optional[str] = None
        default: Optional[Any] = None
        deprecated: Optional[bool] = None
        readOnly: Optional[bool] = None
        writeOnly: Optional[bool] = None
        examples: Optional[List[Any]] = None
        # Ref: OpenAPI 3.1.0: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#schema-object
        # Schema Object
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top