org.nuxeo.ecm.core.test
Class RepositorySettings
java.lang.Object
org.nuxeo.ecm.core.test.RepositorySettings
- All Implemented Interfaces:
- com.google.inject.Provider<CoreSession>
public class RepositorySettings
- extends java.lang.Object
- implements com.google.inject.Provider<CoreSession>
Repository configuration that can be set using RepositoryConfig
annotations.
If you are modifying fields in this class do not forget to update the
{@link RepositorySettings#importSettings(RepositorySettings) method.
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositorySettings
public RepositorySettings(FeaturesRunner runner)
importAnnotations
public void importAnnotations(RepositoryConfig repo)
importSettings
public void importSettings(RepositorySettings settings)
getBackendType
public BackendType getBackendType()
setBackendType
public void setBackendType(BackendType type)
getUsername
public java.lang.String getUsername()
setUsername
public void setUsername(java.lang.String username)
getInitializer
public RepositoryInit getInitializer()
setInitializer
public void setInitializer(RepositoryInit initializer)
getGranularity
public Granularity getGranularity()
setGranularity
public void setGranularity(Granularity granularity)
initialize
public void initialize()
shutdown
public void shutdown()
getRepositoryHandler
public TestRepositoryHandler getRepositoryHandler()
getSession
public CoreSession getSession()
get
public CoreSession get()
- Specified by:
get
in interface com.google.inject.Provider<CoreSession>
Copyright © 2010 Nuxeo SAS. All Rights Reserved.