com.microsoft.tfs.core.clients.registration
Class ServiceInterface
java.lang.Object
com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
com.microsoft.tfs.core.clients.registration.ServiceInterface
public class ServiceInterface
- extends com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
Describes the name and location of a registered Team Foundation Server
service.
- Since:
- TEE-SDK-10.1
- Thread-safety:
- thread-compatible
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
webServiceObject |
Constructor Summary |
ServiceInterface(ms.tfs.services.registration._03._RegistrationServiceInterface serviceInterface)
|
ServiceInterface(java.lang.String name,
java.lang.String url)
|
Method Summary |
java.lang.String |
getName()
|
java.lang.String |
getRelativeURL()
Return the URL without and leading slash. |
java.lang.String |
getURL()
|
ms.tfs.services.registration._03._RegistrationServiceInterface |
getWebServiceObject()
Gets the web service object this class wraps. |
void |
setName(java.lang.String value)
|
void |
setURL(java.lang.String value)
|
Methods inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ServiceInterface
public ServiceInterface(java.lang.String name,
java.lang.String url)
ServiceInterface
public ServiceInterface(ms.tfs.services.registration._03._RegistrationServiceInterface serviceInterface)
getWebServiceObject
public ms.tfs.services.registration._03._RegistrationServiceInterface getWebServiceObject()
- Gets the web service object this class wraps. The returned object should
not be modified.
- Returns:
- the web service object this class wraps.
getName
public java.lang.String getName()
getURL
public java.lang.String getURL()
getRelativeURL
public java.lang.String getRelativeURL()
- Return the URL without and leading slash. This is often required in
TFS2010 where the services are located inside the server url (i.e.
http://tfsserver:8080/tfs/defaultCollection)
setName
public void setName(java.lang.String value)
setURL
public void setURL(java.lang.String value)
© 2015 Microsoft. All rights reserved.