Class CborWriteFeatureDecorator

java.lang.Object
net.logstash.logback.decorate.FeatureDecorator<tools.jackson.dataformat.cbor.CBORFactoryBuilder, tools.jackson.dataformat.cbor.CBORWriteFeature>
net.logstash.logback.decorate.cbor.CborWriteFeatureDecorator
All Implemented Interfaces:
Decorator<tools.jackson.dataformat.cbor.CBORFactoryBuilder>, TokenStreamFactoryBuilderDecorator<tools.jackson.dataformat.cbor.CBORFactory, tools.jackson.dataformat.cbor.CBORFactoryBuilder>

public class CborWriteFeatureDecorator extends FeatureDecorator<tools.jackson.dataformat.cbor.CBORFactoryBuilder, tools.jackson.dataformat.cbor.CBORWriteFeature> implements TokenStreamFactoryBuilderDecorator<tools.jackson.dataformat.cbor.CBORFactory, tools.jackson.dataformat.cbor.CBORFactoryBuilder>
A TokenStreamFactoryBuilderDecorator that allows enabling/disabling of CBORWriteFeature features.
  • Constructor Details

    • CborWriteFeatureDecorator

      public CborWriteFeatureDecorator()
  • Method Details

    • configure

      protected tools.jackson.dataformat.cbor.CBORFactoryBuilder configure(tools.jackson.dataformat.cbor.CBORFactoryBuilder builder, tools.jackson.dataformat.cbor.CBORWriteFeature feature, boolean state)
      Description copied from class: FeatureDecorator
      Configures the given feature on the given decoratable.
      Specified by:
      configure in class FeatureDecorator<tools.jackson.dataformat.cbor.CBORFactoryBuilder, tools.jackson.dataformat.cbor.CBORWriteFeature>
      Parameters:
      builder - the object to configure
      feature - the feature to enable or disable
      state - true to enable the feature, false to disable the feature.
      Returns:
      the decorated object