|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsoft.tfs.core.persistence.FilesystemPersistenceStore
com.microsoft.tfs.core.persistence.VersionedVendorFilesystemPersistenceStore
public class VersionedVendorFilesystemPersistenceStore
Extends FilesystemPersistenceStore
to automatically find the right
base directory by looking in some system locations, depending on platform.
A Visual Studio-compatible location is used on Windows.
Constructor Summary | |
---|---|
protected |
VersionedVendorFilesystemPersistenceStore(java.io.File directory)
Creates a VersionedVendorFilesystemPersistenceStore for a
directory. |
|
VersionedVendorFilesystemPersistenceStore(java.lang.String vendorName,
java.lang.String applicationName,
java.lang.String version)
Creates a FilesystemPersistenceStore which points at a directory
inside the automatically detected "home directory" location (depends on
platform) with the specified vendor name, application name, and settings
version mixed into the end of the path. |
Method Summary | |
---|---|
PersistenceStore |
getChildStore(java.lang.String childName)
Gets a PersistenceStore for the given child name. |
Methods inherited from class com.microsoft.tfs.core.persistence.FilesystemPersistenceStore |
---|
containsItem, deleteItem, equals, getItemFile, getItemInputStream, getItemLock, getItemOutputStream, getStoreFile, getStoreLock, hashCode, initialize, migrateItem, retrieveItem, storeItem, storeItem, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VersionedVendorFilesystemPersistenceStore(java.lang.String vendorName, java.lang.String applicationName, java.lang.String version)
FilesystemPersistenceStore
which points at a directory
inside the automatically detected "home directory" location (depends on
platform) with the specified vendor name, application name, and settings
version mixed into the end of the path. Mixing in these parts gives
better control over isolation.
See getChildStore(String)
to create children inside this
persistence store.
vendorName
- the vendor name to mix into the path (must not be
null
or empty)applicationName
- the application name to add after the vendor name (must not be
null
or empty)version
- the current version to add after the application name (must not be
null
or empty)protected VersionedVendorFilesystemPersistenceStore(java.io.File directory)
VersionedVendorFilesystemPersistenceStore
for a
directory.
directory
- the directory which does not have to exist (must not be
null
)Method Detail |
---|
public PersistenceStore getChildStore(java.lang.String childName)
PersistenceStore
for the given child name.
getChildStore
in interface PersistenceStore
getChildStore
in class FilesystemPersistenceStore
childName
- the child name (must not be null
or empty)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |