|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerDataProvider
Provides information about the server a TFSConnection
is connected
to. An abstraction of server identification; implementations exist for
pre-TFS 2010 and post-TFS 2010 services which provide the actual data.
FrameworkServerDataProvider
,
PreFrameworkServerDataProvider
Method Summary | |
---|---|
void |
authenticate()
|
void |
connect(ConnectOptions connectOptions)
Performs all of the steps that are necessary for setting up a connection with a Team Foundation Server. |
void |
ensureAuthenticated()
|
java.lang.String |
findServerLocation(com.microsoft.tfs.util.GUID serverGUID)
The function finds the location of the server that has the guid passed. |
TeamFoundationIdentity |
getAuthenticatedIdentity()
|
TeamFoundationIdentity |
getAuthorizedIdentity()
|
com.microsoft.tfs.util.GUID |
getCatalogResourceID()
|
com.microsoft.tfs.util.GUID |
getInstanceID()
|
ServerCapabilities |
getServerCapabilities()
The capabilities of the TFS server. |
boolean |
hasAuthenticated()
|
void |
reactToPossibleServerUpdate(int serverLastChangeId)
Clears any caches that it has if the server has been updated. |
Methods inherited from interface com.microsoft.tfs.core.clients.framework.location.ILocationService |
---|
configureAccessMapping, findServiceDefinition, findServiceDefinitions, findServiceDefinitionsByToolType, getAccessMapping, getClientAccessMapping, getConfiguredAccessMappings, getDefaultAccessMapping, locationForAccessMapping, locationForAccessMapping, locationForAccessMapping, locationForCurrentConnection, locationForCurrentConnection, removeAccessMapping, removeServiceDefinition, removeServiceDefinition, removeServiceDefinitions, saveServiceDefinition, saveServiceDefinitions, setDefaultAccessMapping |
Method Detail |
---|
com.microsoft.tfs.util.GUID getInstanceID()
com.microsoft.tfs.util.GUID getCatalogResourceID()
TeamFoundationIdentity getAuthorizedIdentity()
TeamFoundationIdentity getAuthenticatedIdentity()
boolean hasAuthenticated()
void ensureAuthenticated()
void authenticate()
ServerCapabilities getServerCapabilities()
java.lang.String findServerLocation(com.microsoft.tfs.util.GUID serverGUID)
serverGUID
- the GUID for the server we are looking up
null
if this server does not have a child with the
provided GUIDvoid connect(ConnectOptions connectOptions)
connectOptions
- Specifies what information that should be returned from the
server.void reactToPossibleServerUpdate(int serverLastChangeId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |