Package org.mongojack
Class MongoJackModuleConfiguration
- java.lang.Object
-
- org.mongojack.MongoJackModuleConfiguration
-
public class MongoJackModuleConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description MongoJackModuleConfiguration()MongoJackModuleConfiguration(int moduleFeatures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisEnabled(MongoJackModuleFeature f)MongoJackModuleConfigurationwith(MongoJackModuleFeature feature)Fluent factory method that will construct and return a new configuration object instance with specified features enabled.MongoJackModuleConfigurationwith(MongoJackModuleFeature first, MongoJackModuleFeature... features)Fluent factory method that will construct and return a new configuration object instance with specified features enabled.MongoJackModuleConfigurationwithFeatures(MongoJackModuleFeature... features)Fluent factory method that will construct and return a new configuration object instance with specified features enabled.MongoJackModuleConfigurationwithout(MongoJackModuleFeature feature)Fluent factory method that will construct and return a new configuration object instance with specified feature disabled.MongoJackModuleConfigurationwithout(MongoJackModuleFeature first, MongoJackModuleFeature... features)Fluent factory method that will construct and return a new configuration object instance with specified features disabled.MongoJackModuleConfigurationwithoutFeatures(MongoJackModuleFeature... features)Fluent factory method that will construct and return a new configuration object instance with specified features disabled.
-
-
-
Method Detail
-
isEnabled
public final boolean isEnabled(MongoJackModuleFeature f)
-
with
public MongoJackModuleConfiguration with(MongoJackModuleFeature feature)
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
public MongoJackModuleConfiguration withFeatures(MongoJackModuleFeature... features)
Fluent factory method that will construct and return a new configuration object instance with specified features enabled.
-
without
public MongoJackModuleConfiguration without(MongoJackModuleFeature feature)
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
public MongoJackModuleConfiguration withoutFeatures(MongoJackModuleFeature... features)
Fluent factory method that will construct and return a new configuration object instance with specified features disabled.
-
-