Class SvnKitEnvironmentRepository
- java.lang.Object
-
- org.springframework.cloud.config.server.support.AbstractScmAccessor
-
- org.springframework.cloud.config.server.environment.AbstractScmEnvironmentRepository
-
- org.springframework.cloud.config.server.environment.SvnKitEnvironmentRepository
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,EnvironmentRepository,SearchPathLocator,org.springframework.context.ResourceLoaderAware,org.springframework.core.Ordered
public class SvnKitEnvironmentRepository extends AbstractScmEnvironmentRepository implements EnvironmentRepository, org.springframework.beans.factory.InitializingBean
Subversion-backedEnvironmentRepository.- Author:
- Michael Prankl, Roy Clarkson
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.springframework.cloud.config.server.environment.SearchPathLocator
SearchPathLocator.Locations
-
-
Constructor Summary
Constructors Constructor Description SvnKitEnvironmentRepository(org.springframework.core.env.ConfigurableEnvironment environment, SvnKitEnvironmentProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()StringgetDefaultLabel()SearchPathLocator.LocationsgetLocations(String application, String profile, String label)protected FilegetWorkingDirectory()voidsetDefaultLabel(String defaultLabel)voidsetOrder(int order)-
Methods inherited from class org.springframework.cloud.config.server.environment.AbstractScmEnvironmentRepository
findOne, findOne, getOrder
-
Methods inherited from class org.springframework.cloud.config.server.support.AbstractScmAccessor
createBaseDir, getBasedir, getEnvironment, getPassphrase, getPassword, getSearchLocations, getSearchPaths, getUri, getUsername, isStrictHostKeyChecking, setBasedir, setEnvironment, setPassphrase, setPassword, setResourceLoader, setSearchPaths, setStrictHostKeyChecking, setUri, setUsername
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.cloud.config.server.environment.EnvironmentRepository
findOne, findOne
-
-
-
-
Constructor Detail
-
SvnKitEnvironmentRepository
public SvnKitEnvironmentRepository(org.springframework.core.env.ConfigurableEnvironment environment, SvnKitEnvironmentProperties properties)
-
-
Method Detail
-
getDefaultLabel
public String getDefaultLabel()
-
setDefaultLabel
public void setDefaultLabel(String defaultLabel)
-
getLocations
public SearchPathLocator.Locations getLocations(String application, String profile, String label)
- Specified by:
getLocationsin interfaceSearchPathLocator
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getWorkingDirectory
protected File getWorkingDirectory()
- Overrides:
getWorkingDirectoryin classAbstractScmAccessor
-
setOrder
public void setOrder(int order)
- Overrides:
setOrderin classAbstractScmEnvironmentRepository
-
-