Class JGitEnvironmentProperties
- java.lang.Object
-
- org.springframework.cloud.config.server.support.AbstractScmAccessorProperties
-
- org.springframework.cloud.config.server.environment.JGitEnvironmentProperties
-
- All Implemented Interfaces:
EnvironmentRepositoryProperties,HttpEnvironmentRepositoryProperties
- Direct Known Subclasses:
MultipleJGitEnvironmentProperties,MultipleJGitEnvironmentProperties.PatternMatchingJGitEnvironmentProperties
public class JGitEnvironmentProperties extends AbstractScmAccessorProperties implements HttpEnvironmentRepositoryProperties
- Author:
- Dylan Roberts, Gareth Clay
-
-
Field Summary
Fields Modifier and Type Field Description static StringMAIN_LABELMain label.static StringMASTER_LABELMaster label.
-
Constructor Summary
Constructors Constructor Description JGitEnvironmentProperties()
-
Method Summary
-
Methods inherited from class org.springframework.cloud.config.server.support.AbstractScmAccessorProperties
getBasedir, getDefaultLabel, getOrder, getPassphrase, getPassword, getSearchPaths, getUri, getUsername, setBasedir, setDefaultLabel, setOrder, setPassphrase, setPassword, setSearchPaths, 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.support.EnvironmentRepositoryProperties
setOrder
-
-
-
-
Field Detail
-
MASTER_LABEL
public static final String MASTER_LABEL
Master label.- See Also:
- Constant Field Values
-
MAIN_LABEL
public static final String MAIN_LABEL
Main label.- See Also:
- Constant Field Values
-
-
Method Detail
-
isCloneOnStart
public boolean isCloneOnStart()
-
setCloneOnStart
public void setCloneOnStart(boolean cloneOnStart)
-
isCloneSubmodules
public boolean isCloneSubmodules()
-
setCloneSubmodules
public void setCloneSubmodules(boolean cloneSubmodules)
-
isForcePull
public boolean isForcePull()
-
setForcePull
public void setForcePull(boolean forcePull)
-
getTimeout
public int getTimeout()
- Specified by:
getTimeoutin interfaceHttpEnvironmentRepositoryProperties
-
setTimeout
public void setTimeout(int timeout)
-
isDeleteUntrackedBranches
public boolean isDeleteUntrackedBranches()
-
setDeleteUntrackedBranches
public void setDeleteUntrackedBranches(boolean deleteUntrackedBranches)
-
getRefreshRate
public int getRefreshRate()
-
setRefreshRate
public void setRefreshRate(int refreshRate)
-
getPrivateKey
public String getPrivateKey()
-
setPrivateKey
public void setPrivateKey(String privateKey)
-
getHostKeyAlgorithm
public String getHostKeyAlgorithm()
-
setHostKeyAlgorithm
public void setHostKeyAlgorithm(String hostKeyAlgorithm)
-
getHostKey
public String getHostKey()
-
setHostKey
public void setHostKey(String hostKey)
-
getKnownHostsFile
public String getKnownHostsFile()
-
setKnownHostsFile
public void setKnownHostsFile(String knownHostsFile)
-
getPreferredAuthentications
public String getPreferredAuthentications()
-
setPreferredAuthentications
public void setPreferredAuthentications(String preferredAuthentications)
-
isIgnoreLocalSshSettings
public boolean isIgnoreLocalSshSettings()
-
setIgnoreLocalSshSettings
public void setIgnoreLocalSshSettings(boolean ignoreLocalSshSettings)
-
isStrictHostKeyChecking
public boolean isStrictHostKeyChecking()
- Overrides:
isStrictHostKeyCheckingin classAbstractScmAccessorProperties
-
setStrictHostKeyChecking
public void setStrictHostKeyChecking(boolean strictHostKeyChecking)
- Overrides:
setStrictHostKeyCheckingin classAbstractScmAccessorProperties
-
isSkipSslValidation
public boolean isSkipSslValidation()
- Specified by:
isSkipSslValidationin interfaceHttpEnvironmentRepositoryProperties
-
setSkipSslValidation
public void setSkipSslValidation(boolean skipSslValidation)
-
getProxy
public Map<ProxyHostProperties.ProxyForScheme,ProxyHostProperties> getProxy()
- Specified by:
getProxyin interfaceHttpEnvironmentRepositoryProperties
-
setProxy
public void setProxy(Map<ProxyHostProperties.ProxyForScheme,ProxyHostProperties> proxy)
-
isTryMasterBranch
public boolean isTryMasterBranch()
-
setTryMasterBranch
public void setTryMasterBranch(boolean tryMasterBranch)
-
-