Package org.uberfire.java.nio.fs.jgit
Class JGitFileSystemProviderConfiguration
- java.lang.Object
-
- org.uberfire.java.nio.fs.jgit.JGitFileSystemProviderConfiguration
-
public class JGitFileSystemProviderConfiguration extends Object
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description JGitFileSystemProviderConfiguration()
-
Method Summary
-
-
-
Field Detail
-
GIT_ENV_KEY_DEFAULT_REMOTE_NAME
public static final String GIT_ENV_KEY_DEFAULT_REMOTE_NAME
- See Also:
- Constant Field Values
-
GIT_ENV_KEY_BRANCH_LIST
public static final String GIT_ENV_KEY_BRANCH_LIST
- See Also:
- Constant Field Values
-
GIT_ENV_KEY_SUBDIRECTORY
public static final String GIT_ENV_KEY_SUBDIRECTORY
- See Also:
- Constant Field Values
-
GIT_DAEMON_ENABLED
public static final String GIT_DAEMON_ENABLED
- See Also:
- Constant Field Values
-
GIT_SSH_ENABLED
public static final String GIT_SSH_ENABLED
- See Also:
- Constant Field Values
-
GIT_HTTP_ENABLED
public static final String GIT_HTTP_ENABLED
- See Also:
- Constant Field Values
-
GIT_HTTPS_ENABLED
public static final String GIT_HTTPS_ENABLED
- See Also:
- Constant Field Values
-
GIT_NIO_DIR
public static final String GIT_NIO_DIR
- See Also:
- Constant Field Values
-
GIT_NIO_DIR_NAME
public static final String GIT_NIO_DIR_NAME
- See Also:
- Constant Field Values
-
ENABLE_GIT_KETCH
public static final String ENABLE_GIT_KETCH
- See Also:
- Constant Field Values
-
HOOK_DIR
public static final String HOOK_DIR
- See Also:
- Constant Field Values
-
GIT_HTTP_HOST
public static final String GIT_HTTP_HOST
- See Also:
- Constant Field Values
-
GIT_HTTP_HOSTNAME
public static final String GIT_HTTP_HOSTNAME
- See Also:
- Constant Field Values
-
GIT_HTTP_PORT
public static final String GIT_HTTP_PORT
- See Also:
- Constant Field Values
-
GIT_HTTPS_HOST
public static final String GIT_HTTPS_HOST
- See Also:
- Constant Field Values
-
GIT_HTTPS_HOSTNAME
public static final String GIT_HTTPS_HOSTNAME
- See Also:
- Constant Field Values
-
GIT_HTTPS_PORT
public static final String GIT_HTTPS_PORT
- See Also:
- Constant Field Values
-
GIT_DAEMON_HOST
public static final String GIT_DAEMON_HOST
- See Also:
- Constant Field Values
-
GIT_DAEMON_HOSTNAME
public static final String GIT_DAEMON_HOSTNAME
- See Also:
- Constant Field Values
-
GIT_DAEMON_PORT
public static final String GIT_DAEMON_PORT
- See Also:
- Constant Field Values
-
GIT_SSH_HOST
public static final String GIT_SSH_HOST
- See Also:
- Constant Field Values
-
GIT_SSH_HOSTNAME
public static final String GIT_SSH_HOSTNAME
- See Also:
- Constant Field Values
-
GIT_SSH_PORT
public static final String GIT_SSH_PORT
- See Also:
- Constant Field Values
-
GIT_SSH_CERT_DIR
public static final String GIT_SSH_CERT_DIR
- See Also:
- Constant Field Values
-
GIT_SSH_IDLE_TIMEOUT
public static final String GIT_SSH_IDLE_TIMEOUT
- See Also:
- Constant Field Values
-
GIT_SSH_ALGORITHM
public static final String GIT_SSH_ALGORITHM
- See Also:
- Constant Field Values
-
GIT_SSH_PASSPHRASE
public static final String GIT_SSH_PASSPHRASE
- See Also:
- Constant Field Values
-
GIT_GC_LIMIT
public static final String GIT_GC_LIMIT
- See Also:
- Constant Field Values
-
GIT_HTTP_SSL_VERIFY
public static final String GIT_HTTP_SSL_VERIFY
- See Also:
- Constant Field Values
-
PROXY_TYPE
public static final String PROXY_TYPE
- See Also:
- Constant Field Values
-
SSH_OVER_HTTP
public static final String SSH_OVER_HTTP
- See Also:
- Constant Field Values
-
HTTP_PROXY_HOST
public static final String HTTP_PROXY_HOST
- See Also:
- Constant Field Values
-
HTTP_PROXY_PORT
public static final String HTTP_PROXY_PORT
- See Also:
- Constant Field Values
-
HTTP_PROXY_USER
public static final String HTTP_PROXY_USER
- See Also:
- Constant Field Values
-
HTTP_PROXY_PASSWORD
public static final String HTTP_PROXY_PASSWORD
- See Also:
- Constant Field Values
-
SSH_OVER_HTTPS
public static final String SSH_OVER_HTTPS
- See Also:
- Constant Field Values
-
HTTPS_PROXY_HOST
public static final String HTTPS_PROXY_HOST
- See Also:
- Constant Field Values
-
HTTPS_PROXY_PORT
public static final String HTTPS_PROXY_PORT
- See Also:
- Constant Field Values
-
HTTPS_PROXY_USER
public static final String HTTPS_PROXY_USER
- See Also:
- Constant Field Values
-
HTTPS_PROXY_PASSWORD
public static final String HTTPS_PROXY_PASSWORD
- See Also:
- Constant Field Values
-
USER_DIR
public static final String USER_DIR
- See Also:
- Constant Field Values
-
JGIT_CACHE_INSTANCES
public static final String JGIT_CACHE_INSTANCES
- See Also:
- Constant Field Values
-
JGIT_CACHE_OVERFLOW_CLEANUP_SIZE
public static final String JGIT_CACHE_OVERFLOW_CLEANUP_SIZE
- See Also:
- Constant Field Values
-
JGIT_REMOVE_ELDEST_ENTRY_ITERATIONS
public static final String JGIT_REMOVE_ELDEST_ENTRY_ITERATIONS
- See Also:
- Constant Field Values
-
JGIT_CACHE_EVICT_THRESHOLD_DURATION
public static final String JGIT_CACHE_EVICT_THRESHOLD_DURATION
- See Also:
- Constant Field Values
-
JGIT_CACHE_EVICT_THRESHOLD_TIME_UNIT
public static final String JGIT_CACHE_EVICT_THRESHOLD_TIME_UNIT
- See Also:
- Constant Field Values
-
GIT_ENV_KEY_DEST_PATH
public static final String GIT_ENV_KEY_DEST_PATH
- See Also:
- Constant Field Values
-
GIT_ENV_KEY_USER_NAME
public static final String GIT_ENV_KEY_USER_NAME
- See Also:
- Constant Field Values
-
GIT_ENV_KEY_PASSWORD
public static final String GIT_ENV_KEY_PASSWORD
- See Also:
- Constant Field Values
-
GIT_ENV_KEY_INIT
public static final String GIT_ENV_KEY_INIT
- See Also:
- Constant Field Values
-
GIT_ENV_KEY_MIRROR
public static final String GIT_ENV_KEY_MIRROR
- See Also:
- Constant Field Values
-
SCHEME
public static final String SCHEME
- See Also:
- Constant Field Values
-
GIT_SSH_CIPHERS
public static final String GIT_SSH_CIPHERS
- See Also:
- Constant Field Values
-
GIT_SSH_MACS
public static final String GIT_SSH_MACS
- See Also:
- Constant Field Values
-
SCHEME_SIZE
public static final int SCHEME_SIZE
-
DEFAULT_SCHEME_SIZE
public static final int DEFAULT_SCHEME_SIZE
-
DEFAULT_HOST_NAME
public static final String DEFAULT_HOST_NAME
- See Also:
- Constant Field Values
-
REPOSITORIES_CONTAINER_DIR
public static final String REPOSITORIES_CONTAINER_DIR
- See Also:
- Constant Field Values
-
SSH_FILE_CERT_CONTAINER_DIR
public static final String SSH_FILE_CERT_CONTAINER_DIR
- See Also:
- Constant Field Values
-
DEFAULT_SSH_OVER_HTTP
public static final String DEFAULT_SSH_OVER_HTTP
- See Also:
- Constant Field Values
-
DEFAULT_PROXY_TYPE
public static final String DEFAULT_PROXY_TYPE
- See Also:
- Constant Field Values
-
DEFAULT_SSH_OVER_HTTPS
public static final String DEFAULT_SSH_OVER_HTTPS
- See Also:
- Constant Field Values
-
DEFAULT_HOST_ADDR
public static final String DEFAULT_HOST_ADDR
- See Also:
- Constant Field Values
-
DEFAULT_DAEMON_DEFAULT_ENABLED
public static final String DEFAULT_DAEMON_DEFAULT_ENABLED
- See Also:
- Constant Field Values
-
DEFAULT_DAEMON_DEFAULT_PORT
public static final String DEFAULT_DAEMON_DEFAULT_PORT
- See Also:
- Constant Field Values
-
DEFAULT_SSH_ENABLED
public static final String DEFAULT_SSH_ENABLED
- See Also:
- Constant Field Values
-
DEFAULT_HTTP_ENABLED
public static final String DEFAULT_HTTP_ENABLED
- See Also:
- Constant Field Values
-
DEFAULT_HTTPS_ENABLED
public static final String DEFAULT_HTTPS_ENABLED
- See Also:
- Constant Field Values
-
DEFAULT_HTTP_PORT
public static final String DEFAULT_HTTP_PORT
- See Also:
- Constant Field Values
-
DEFAULT_HTTPS_PORT
public static final String DEFAULT_HTTPS_PORT
- See Also:
- Constant Field Values
-
DEFAULT_SSH_PORT
public static final String DEFAULT_SSH_PORT
- See Also:
- Constant Field Values
-
DEFAULT_SSH_IDLE_TIMEOUT
public static final String DEFAULT_SSH_IDLE_TIMEOUT
- See Also:
- Constant Field Values
-
DEFAULT_SSH_ALGORITHM
public static final String DEFAULT_SSH_ALGORITHM
- See Also:
- Constant Field Values
-
DEFAULT_SSH_CERT_PASSPHRASE
public static final String DEFAULT_SSH_CERT_PASSPHRASE
- See Also:
- Constant Field Values
-
DEFAULT_COMMIT_LIMIT_TO_GC
public static final String DEFAULT_COMMIT_LIMIT_TO_GC
- See Also:
- Constant Field Values
-
DEFAULT_GIT_HTTP_SSL_VERIFY
public static final Boolean DEFAULT_GIT_HTTP_SSL_VERIFY
-
DEFAULT_ENABLE_GIT_KETCH
public static final String DEFAULT_ENABLE_GIT_KETCH
- See Also:
- Constant Field Values
-
DEFAULT_JGIT_FILE_SYSTEM_INSTANCES_CACHE
public static final String DEFAULT_JGIT_FILE_SYSTEM_INSTANCES_CACHE
- See Also:
- Constant Field Values
-
DEFAULT_JGIT_REMOVE_ELDEST_ENTRY_ITERATIONS
public static final String DEFAULT_JGIT_REMOVE_ELDEST_ENTRY_ITERATIONS
- See Also:
- Constant Field Values
-
DEFAULT_JGIT_CACHE_OVERFLOW_CLEANUP_SIZE
public static final String DEFAULT_JGIT_CACHE_OVERFLOW_CLEANUP_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_JGIT_CACHE_EVICT_THRESHOLD_DURATION
public static final String DEFAULT_JGIT_CACHE_EVICT_THRESHOLD_DURATION
- See Also:
- Constant Field Values
-
DEFAULT_JGIT_CACHE_EVICT_THRESHOLD_TIME_UNIT
public static final TimeUnit DEFAULT_JGIT_CACHE_EVICT_THRESHOLD_TIME_UNIT
-
-
Method Detail
-
load
public void load(org.uberfire.commons.config.ConfigProperties systemConfig)
-
httpProxyIsDefined
public boolean httpProxyIsDefined()
-
getCommitLimit
public int getCommitLimit()
-
isSslVerify
public boolean isSslVerify()
-
isDaemonEnabled
public boolean isDaemonEnabled()
-
getDaemonPort
public int getDaemonPort()
-
getDaemonHostAddr
public String getDaemonHostAddr()
-
getDaemonHostName
public String getDaemonHostName()
-
isSshEnabled
public boolean isSshEnabled()
-
getSshPort
public int getSshPort()
-
getSshHostAddr
public String getSshHostAddr()
-
getSshHostName
public String getSshHostName()
-
getSshFileCertDir
public File getSshFileCertDir()
-
getSshAlgorithm
public String getSshAlgorithm()
-
getSshPassphrase
public String getSshPassphrase()
-
getSshIdleTimeout
public String getSshIdleTimeout()
-
getGitReposParentDir
public File getGitReposParentDir()
-
getHookDir
public File getHookDir()
-
isEnableKetch
public boolean isEnableKetch()
-
getProxyType
public String getProxyType()
-
isSshOverHttpProxy
public boolean isSshOverHttpProxy()
-
getHttpProxyHost
public String getHttpProxyHost()
-
getHttpProxyPort
public int getHttpProxyPort()
-
getHttpProxyUser
public String getHttpProxyUser()
-
getHttpProxyPassword
public String getHttpProxyPassword()
-
isSshOverHttpsProxy
public boolean isSshOverHttpsProxy()
-
getHttpsProxyHost
public String getHttpsProxyHost()
-
getHttpsProxyPort
public int getHttpsProxyPort()
-
getHttpsProxyUser
public String getHttpsProxyUser()
-
getHttpsProxyPassword
public String getHttpsProxyPassword()
-
isHttpEnabled
public boolean isHttpEnabled()
-
getHttpPort
public int getHttpPort()
-
getHttpHostAddr
public String getHttpHostAddr()
-
getHttpHostName
public String getHttpHostName()
-
isHttpsEnabled
public boolean isHttpsEnabled()
-
getHttpsPort
public int getHttpsPort()
-
getHttpsHostAddr
public String getHttpsHostAddr()
-
getHttpsHostName
public String getHttpsHostName()
-
getJgitFileSystemsInstancesCache
public int getJgitFileSystemsInstancesCache()
-
getJgitCacheOverflowCleanupSize
public int getJgitCacheOverflowCleanupSize()
-
getJgitRemoveEldestEntryIterations
public int getJgitRemoveEldestEntryIterations()
-
getDefaultJgitCacheEvictThresholdTimeUnit
public TimeUnit getDefaultJgitCacheEvictThresholdTimeUnit()
-
getJgitCacheEvictThresholdDuration
public long getJgitCacheEvictThresholdDuration()
-
getGitSshCiphers
public String getGitSshCiphers()
-
getGitSshMACs
public String getGitSshMACs()
-
-