|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsoft.tfs.core.config.EnvironmentVariables
public abstract class EnvironmentVariables
A collection of all the environment variables that control configuration in classes in the com.microsoft.tfs.core.config package.
Field Summary | |
---|---|
static java.lang.String |
ACCEPT_UNTRUSTED_CERTIFICATES
When set to any value untrusted SSL certificates will be accepted. |
static java.lang.String |
DISABLE_APPLY_EXECUTABLE_PROP
When set to any value, files with the property PropertyConstants.EXECUTABLE_KEY will not have the Unix execute
bit set when they are written to working folders during operations like
get, pend, undo, or unshelve. |
static java.lang.String |
DISABLE_DETECT_EXECUTABLE_PROP
When set to any value, the automatic pend of property PropertyConstants.EXECUTABLE_KEY for files with the Unix execute
bit is skipped when local workspaces are scanned. |
static java.lang.String |
MAX_CHUNK_RETRY_ATTEMPTS
When set to an integer positive value defines the maximum number of attempts to upload a chunk of a file before we attempt to retry the entire file. |
static java.lang.String |
MAX_FILE_RETRY_ATTEMPTS
When set to an integer positive value defines the maximum number of attempts to upload a file before an error is reported to the user. |
static java.lang.String |
OFFLINE_METADATA_ROOT_DIRECTORY
Overrides the standard calculation used to compute the local workspace metadata root directory ( Workstation#getOfflineMetadataFileRoot() ). |
static java.lang.String |
TF_PROXY
When set to any value, the value of this variable is used as the URL to the Team Foundation Proxy (not the general HTTP proxy). |
static java.lang.String |
UPLOAD_BUFFER_SIZE
When set to an integer positive value defines the size of a I/O buffer used to read a file during upload. |
static java.lang.String |
UPLOAD_CHUNK_SIZE
When set to an integer positive value defines the maximum size of a file portion during chunked file upload. |
static java.lang.String |
WORKSTATION_CACHE_DIRECTORY
Overrides the standard cache file storage directory the Workstation class uses. |
static java.lang.String |
WORKSTATION_CONFIGURATION_DIRECTORY
Overrides the standard cache file storage directory the Workstation class uses. |
Constructor Summary | |
---|---|
EnvironmentVariables()
|
Method Summary | |
---|---|
static int |
getInt(java.lang.String variableName,
int defaultValue)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ACCEPT_UNTRUSTED_CERTIFICATES
Setting this variable reduces security and should only be used if the user understands the risks in disabling server certificate validation.
"TF_ACCEPT_UNTRUSTED_CERTIFICATES"
public static final java.lang.String UPLOAD_CHUNK_SIZE
Setting this variable to a value less than 2 disables chunked upload. Files are uploaded with a single HTTP request.
"TF_UPLOAD_CHUNK_SIZE"
public static final java.lang.String UPLOAD_BUFFER_SIZE
"TF_UPLOAD_BUFFER_SIZE"
public static final java.lang.String MAX_FILE_RETRY_ATTEMPTS
"TF_MAX_FILE_RETRY_ATTEMPTS"
public static final java.lang.String MAX_CHUNK_RETRY_ATTEMPTS
"TF_MAX_CHUNK_RETRY_ATTEMPTS"
public static final java.lang.String DISABLE_DETECT_EXECUTABLE_PROP
PropertyConstants.EXECUTABLE_KEY
for files with the Unix execute
bit is skipped when local workspaces are scanned.
Has no affect on non-Unix platforms.
"TF_DISABLE_DETECT_EXECUTABLE_PROP"
public static final java.lang.String DISABLE_APPLY_EXECUTABLE_PROP
PropertyConstants.EXECUTABLE_KEY
will not have the Unix execute
bit set when they are written to working folders during operations like
get, pend, undo, or unshelve.
This variable does not prevent the application of the execute bit when specified in a .tpattributes file.
Has no affect on non-Unix platforms.
"TF_DISABLE_APPLY_EXECUTABLE_PROP"
public static final java.lang.String TF_PROXY
Visual Studio uses the same environment variable for this purpose.
"TFSPROXY"
public static final java.lang.String WORKSTATION_CACHE_DIRECTORY
Workstation
class uses. Does not affect where non-
Workstation
cache files are placed (see
PersistenceStoreProvider
).
The Workstation
cache directory contains the version control
workspace cache file.
Visual Studio uses the same environment variable for this purpose.
"TFSVC_CACHE_DIR"
public static final java.lang.String WORKSTATION_CONFIGURATION_DIRECTORY
Workstation
class uses. Does not affect where non-
Workstation
cache files are placed (see
PersistenceStoreProvider
).
The Workstation
configuration directory contains the version
control exclusion patterns file.
Visual Studio uses the same environment variable for this purpose.
"TFSVC_CONFIG_DIR"
public static final java.lang.String OFFLINE_METADATA_ROOT_DIRECTORY
Workstation#getOfflineMetadataFileRoot()
).
Visual Studio uses the same environment variable for this purpose.
"TFS_OFFLINE_METADATA_ROOT"
Constructor Detail |
---|
public EnvironmentVariables()
Method Detail |
---|
public static int getInt(java.lang.String variableName, int defaultValue)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |