Annotation Type NacosConfigurationProperties

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String dataId
      Nacos Data ID
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean autoRefreshed
      It indicates the properties of current doBind bean is auto-refreshed when Nacos configuration is changed.
      boolean exceptionIfInvalid
      Flag to indicate that an exception should be raised if a Validator is available and validation fails.
      String groupId
      Nacos Group ID
      boolean ignoreInvalidFields
      Flag to indicate that when binding to this object invalid fields should be ignored.
      boolean ignoreNestedProperties
      Flag to indicate that when binding to this object fields with periods in their names should be ignored.
      boolean ignoreUnknownFields
      Flag to indicate that when binding to this object unknown fields should be ignored.
      NacosProperties properties
      The NacosProperties attribute, If not specified, it will use global Nacos Properties.
    • Element Detail

      • dataId

        String dataId
        Nacos Data ID
        Returns:
        required value.
      • autoRefreshed

        boolean autoRefreshed
        It indicates the properties of current doBind bean is auto-refreshed when Nacos configuration is changed.
        Returns:
        default value is false
        Default:
        false
      • ignoreInvalidFields

        boolean ignoreInvalidFields
        Flag to indicate that when binding to this object invalid fields should be ignored. Invalid means invalid according to the binder that is used, and usually this means fields of the wrong type (or that cannot be coerced into the correct type).
        Returns:
        the flag value (default false)
        Default:
        false
      • ignoreNestedProperties

        boolean ignoreNestedProperties
        Flag to indicate that when binding to this object fields with periods in their names should be ignored.
        Returns:
        the flag value (default false)
        Default:
        false
      • ignoreUnknownFields

        boolean ignoreUnknownFields
        Flag to indicate that when binding to this object unknown fields should be ignored. An unknown field could be a sign of a mistake in the Properties.
        Returns:
        the flag value (default true)
        Default:
        true
      • exceptionIfInvalid

        boolean exceptionIfInvalid
        Flag to indicate that an exception should be raised if a Validator is available and validation fails. If it is set to false, validation errors will be swallowed. They will be logged, but not propagated to the caller.
        Returns:
        the flag value (default true)
        Default:
        true
      • properties

        NacosProperties properties
        The NacosProperties attribute, If not specified, it will use global Nacos Properties.
        Returns:
        the default value is NacosProperties
        Default:
        @com.alibaba.nacos.api.annotation.NacosProperties