Class MongoJackModuleConfiguration
java.lang.Object
org.mongojack.MongoJackModuleConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanwith(MongoJackModuleFeature feature) Fluent factory method that will construct and return a new configuration object instance with specified features enabled.with(MongoJackModuleFeature first, MongoJackModuleFeature... features) Fluent factory method that will construct and return a new configuration object instance with specified features enabled.withFeatures(MongoJackModuleFeature... features) Fluent factory method that will construct and return a new configuration object instance with specified features enabled.without(MongoJackModuleFeature feature) Fluent factory method that will construct and return a new configuration object instance with specified feature disabled.without(MongoJackModuleFeature first, MongoJackModuleFeature... features) Fluent factory method that will construct and return a new configuration object instance with specified features disabled.withoutFeatures(MongoJackModuleFeature... features) Fluent factory method that will construct and return a new configuration object instance with specified features disabled.
-
Constructor Details
-
MongoJackModuleConfiguration
public MongoJackModuleConfiguration() -
MongoJackModuleConfiguration
public MongoJackModuleConfiguration(int moduleFeatures)
-
-
Method Details
-
isEnabled
-
with
Fluent factory method that will construct and return a new configuration object instance with specified features enabled. -
with
public MongoJackModuleConfiguration with(MongoJackModuleFeature first, MongoJackModuleFeature... features) Fluent factory method that will construct and return a new configuration object instance with specified features enabled. -
withFeatures
Fluent factory method that will construct and return a new configuration object instance with specified features enabled. -
without
Fluent factory method that will construct and return a new configuration object instance with specified feature disabled. -
without
public MongoJackModuleConfiguration without(MongoJackModuleFeature first, MongoJackModuleFeature... features) Fluent factory method that will construct and return a new configuration object instance with specified features disabled. -
withoutFeatures
Fluent factory method that will construct and return a new configuration object instance with specified features disabled.
-