|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.client.Service
com.google.gdata.client.GoogleService
com.google.gdata.client.projecthosting.ProjectHostingService
public class ProjectHostingService
Extends the basic GoogleService
abstraction to define a service that
is preconfigured for access to the Project Hosting Issue Tracker Data API.
Nested Class Summary | |
---|---|
static class |
ProjectHostingService.Versions
GData versions supported by the Project Hosting Issue Tracker Data API. |
Nested classes/interfaces inherited from class com.google.gdata.client.GoogleService |
---|
GoogleService.AccountDeletedException, GoogleService.AccountDisabledException, GoogleService.CaptchaRequiredException, GoogleService.InvalidCredentialsException, GoogleService.NotVerifiedException, GoogleService.ServiceUnavailableException, GoogleService.SessionExpiredException, GoogleService.TermsNotAgreedException |
Nested classes/interfaces inherited from class com.google.gdata.client.Service |
---|
Service.ClientInputProperties, Service.ClientOutputProperties, Service.ClientStreamProperties, Service.GDataRequest, Service.GDataRequestFactory |
Field Summary | |
---|---|
static Version |
DEFAULT_VERSION
Default GData version used by the Project Hosting Issue Tracker Data API. |
static java.lang.String |
PROJECTHOSTING_SERVICE
The abbreviated name of Project Hosting Issue Tracker Data API recognized by Google. |
static java.lang.String |
PROJECTHOSTING_SERVICE_VERSION
The version ID of the service. |
Fields inherited from class com.google.gdata.client.Service |
---|
connectTimeout, extProfile, metadataRegistry, requestFactory |
Constructor Summary | |
---|---|
ProjectHostingService(java.lang.String applicationName)
Constructs an instance connecting to the Project Hosting Issue Tracker Data API for an application with the name applicationName . |
|
ProjectHostingService(java.lang.String applicationName,
Service.GDataRequestFactory requestFactory,
AuthTokenFactory authTokenFactory)
Constructs an instance connecting to the Project Hosting Issue Tracker Data API for an application with the name applicationName and the given
GDataRequestFactory and AuthTokenFactory . |
|
ProjectHostingService(java.lang.String applicationName,
java.lang.String protocol,
java.lang.String domainName)
Constructs an instance connecting to the Project Hosting Issue Tracker Data API with name serviceName for an application with the name applicationName . |
Method Summary | |
---|---|
java.lang.String |
getServiceVersion()
Returns information about the service version. |
static Version |
getVersion()
Returns the current GData version used by the Project Hosting Issue Tracker Data API. |
Methods inherited from class com.google.gdata.client.GoogleService |
---|
addCookie, batch, createRequest, createRequest, delete, delete, getAuthToken, getAuthTokenFactory, getCookieManager, getCookies, getEntry, getEntry, getFeed, getFeed, getFeed, getFeed, handleRedirectException, handlesCookies, handleSessionExpiredException, insert, makePostRequest, setAuthSubToken, setAuthSubToken, setAuthTokenFactory, setCookieManager, setHandlesCookies, setOAuthCredentials, setUserCredentials, setUserCredentials, setUserCredentials, setUserCredentials, setUserToken, tokenChanged, update |
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 PROJECTHOSTING_SERVICE
public static final java.lang.String PROJECTHOSTING_SERVICE_VERSION
public static final Version DEFAULT_VERSION
Constructor Detail |
---|
public ProjectHostingService(java.lang.String applicationName)
applicationName
.
applicationName
- the name of the client application accessing the
service. Application names should preferably have the format
[company-id]-[app-name]-[app-version]. The name will be used by the
Google servers to monitor the source of authentication.public ProjectHostingService(java.lang.String applicationName, Service.GDataRequestFactory requestFactory, AuthTokenFactory authTokenFactory)
applicationName
and the given
GDataRequestFactory
and AuthTokenFactory
. Use this
constructor to override the default factories.
applicationName
- the name of the client application accessing the
service. Application names should preferably have the format
[company-id]-[app-name]-[app-version]. The name will be used by the
Google servers to monitor the source of authentication.requestFactory
- the request factory that generates gdata request
objectsauthTokenFactory
- the factory that creates auth tokenspublic ProjectHostingService(java.lang.String applicationName, java.lang.String protocol, java.lang.String domainName)
serviceName
for an application with the name applicationName
. The service will authenticate at the provided domainName
.
applicationName
- the name of the client application accessing the
service. Application names should preferably have the format
[company-id]-[app-name]-[app-version]. The name will be used by the
Google servers to monitor the source of authentication.protocol
- name of protocol to use for authentication
("http"/"https")domainName
- the name of the domain hosting the login handlerMethod Detail |
---|
public java.lang.String getServiceVersion()
Service
getServiceVersion
in class Service
public static Version getVersion()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |