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
FieldsModifier and TypeFieldDescriptionstatic final StringMain label.static final StringMaster label.Fields inherited from interface EnvironmentRepositoryProperties
DEFAULT_ORDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProxy()intintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetCloneOnStart(boolean cloneOnStart) voidsetCloneSubmodules(boolean cloneSubmodules) voidsetDeleteUntrackedBranches(boolean deleteUntrackedBranches) voidsetForcePull(boolean forcePull) voidsetHostKey(String hostKey) voidsetHostKeyAlgorithm(String hostKeyAlgorithm) voidsetIgnoreLocalSshSettings(boolean ignoreLocalSshSettings) voidsetKnownHostsFile(String knownHostsFile) voidsetPreferredAuthentications(String preferredAuthentications) voidsetPrivateKey(String privateKey) voidvoidsetRefreshRate(int refreshRate) voidsetSkipSslValidation(boolean skipSslValidation) voidsetStrictHostKeyChecking(boolean strictHostKeyChecking) voidsetTimeout(int timeout) voidsetTryMasterBranch(boolean tryMasterBranch) Methods inherited from class AbstractScmAccessorProperties
getBasedir, getDefaultLabel, getOrder, getPassphrase, getPassword, getSearchPaths, getUri, getUsername, isContinueOnMultipleLabelFailure, setBasedir, setContinueOnMultipleLabelFailure, setDefaultLabel, setOrder, setPassphrase, setPassword, setSearchPaths, setUri, setUsernameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EnvironmentRepositoryProperties
setOrder
-
Field Details
-
MASTER_LABEL
-
MAIN_LABEL
-
-
Constructor Details
-
JGitEnvironmentProperties
public JGitEnvironmentProperties()
-
-
Method Details
-
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
-
setPrivateKey
-
getHostKeyAlgorithm
-
setHostKeyAlgorithm
-
getHostKey
-
setHostKey
-
getKnownHostsFile
-
setKnownHostsFile
-
getPreferredAuthentications
-
setPreferredAuthentications
-
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
- Specified by:
getProxyin interfaceHttpEnvironmentRepositoryProperties
-
setProxy
-
isTryMasterBranch
public boolean isTryMasterBranch() -
setTryMasterBranch
public void setTryMasterBranch(boolean tryMasterBranch)
-