|
||||||||||
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 |
DD_SUITES_PROJECT_RENAME_UNPATCHED_CLIENT
Controls ThrowOnProjectRenamed feature. |
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 |
DISABLE_SYMBOLIC_LINK_PROP
When set to any value, the automatic pend of property PropertyConstants.SYMBOLIC_KEY for symbolic links is skipped when
local workspaces are scanned. |
static java.lang.String |
GLOBAL_TPATTRIBUTES
When set to a file path, this will be used as the global tpattributes file. |
static java.lang.String |
HOME
|
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 |
TEE_PROFILE_DIRECTORY
Overrides the standard persistent store directory to store user profiles including configuration, momento, etc. |
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 |
USE_LEGACY_MSA
When set to any value the old federated authentication dialog will be used. |
static java.lang.String |
USER_PROFILE
|
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 boolean |
getBoolean(java.lang.String variableName,
boolean defaultValue)
|
static int |
getInt(java.lang.String variableName,
int defaultValue)
|
static java.lang.String |
getString(java.lang.String variableName)
|
static boolean |
isDefined(java.lang.String variableName)
|
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 USE_LEGACY_MSA
The Visual Studio 2013 client introduces a streamlined authentication dialog when connecting to Team Foundation Service (TFS.VisualStudio.com). Due to changes by the Windows team and our move to the new experience we lost the ability to federate @microsoft.com identities.
NOTES:
"TF_USE_LEGACY_MSA"
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 GLOBAL_TPATTRIBUTES
"TF_GLOBAL_TPATTRIBUTES"
public static final java.lang.String DISABLE_SYMBOLIC_LINK_PROP
PropertyConstants.SYMBOLIC_KEY
for symbolic links is skipped when
local workspaces are scanned.
Has no affect on non-Unix platforms.
"TF_DISABLE_SYMBOLIC_LINK_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"
public static final java.lang.String TEE_PROFILE_DIRECTORY
"TEE_PROFILE_DIRECTORY"
public static final java.lang.String DD_SUITES_PROJECT_RENAME_UNPATCHED_CLIENT
"TF_DD_SUITES_PROJECT_RENAME_UNPATCHED_CLIENT"
public static final java.lang.String HOME
"HOME"
public static final java.lang.String USER_PROFILE
"USERPROFILE"
Constructor Detail |
---|
public EnvironmentVariables()
Method Detail |
---|
public static int getInt(java.lang.String variableName, int defaultValue)
public static boolean getBoolean(java.lang.String variableName, boolean defaultValue)
public static java.lang.String getString(java.lang.String variableName)
public static boolean isDefined(java.lang.String variableName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |