@Module
public final class ModelModule
extends Object
Dagger module for the entity (model) classes.
-
Constructor Summary 
Constructors
-
Method Summary 
static com.fasterxml.jackson.databind.ObjectMapper
Returns an ObjectMapper
object that can be used to convert an entity to/from YAML.
Methods inherited from class java.lang.Object 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details 
-
ModelModule 
public ModelModule()
-
Method Details 
-
provideObjectMapper 
@Provides
public static com.fasterxml.jackson.databind.ObjectMapper provideObjectMapper()
Returns an ObjectMapper
object that can be used to convert an entity to/from YAML.