Class EncoderContext.Builder

  • Enclosing class:
    EncoderContext

    @Deprecated(since="2022-10-31")
    public static final class EncoderContext.Builder
    extends java.lang.Object
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    A builder for EncoderContext instances.
    • Method Detail

      • isEncodingCollectibleDocument

        public EncoderContext.Builder isEncodingCollectibleDocument​(boolean encodingCollectibleDocument)
        Deprecated.
        Set to true if the the value to be encoded is a document that will be put in a MongoDB collection.
        Parameters:
        encodingCollectibleDocument - true if the value to be encoded is a document that will be put in a MongoDB collection
        Returns:
        this
      • build

        public EncoderContext build()
        Deprecated.
        Build an instance of EncoderContext.
        Returns:
        the encoder context