|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.tools.admin.AppAdminFactory.ConnectOptions
public static class AppAdminFactory.ConnectOptions
The options used to connect to the remote App Engine administration server.
Constructor Summary | |
---|---|
AppAdminFactory.ConnectOptions()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
com.google.appengine.tools.util.ClientCookieManager |
getCookies()
Retrieves the current cookie manager. |
java.lang.String |
getHost()
Returns the value used for the Host header sent to the server with RPCs. |
AppAdminFactory.PasswordPrompt |
getPasswordPrompt()
Retrieves the prompter used to get the user's password. |
boolean |
getRetainUploadDir()
Returns true if the upload directory should not be deleted. |
java.lang.String |
getSdkRoot()
Returns the location of the AppEngine SDK directory. |
boolean |
getSecure()
Returns whether to use HTTPS for communicating with the Admin Console. |
java.lang.String |
getServer()
Returns the server address to connect to. |
java.lang.String |
getUserId()
Retrieves the user's email address used to authenticate to the server. |
int |
hashCode()
|
void |
setCookies(com.google.appengine.tools.util.ClientCookieManager cookies)
Associates a ClientCookieManager to store cookies received from
the server, for later reuse in other requests. |
void |
setHost(java.lang.String host)
The host name to supply to the remote server. |
void |
setPasswordPrompt(AppAdminFactory.PasswordPrompt prompt)
The password prompt to get the user's password. |
void |
setRetainUploadDir(boolean flag)
Controls whether we clean up our temporary files, or leave it for debugging. |
void |
setSdkRoot(java.lang.String sdkRoot)
A file path to the top directory of the Google App Engine SDK. |
void |
setSecure(boolean secure)
Sets whether to use HTTPS for communicating with the Admin Console. |
void |
setServer(java.lang.String server)
The remote administration server to connect to. |
void |
setUserId(java.lang.String userId)
The user id for the App Engine account. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AppAdminFactory.ConnectOptions()
Method Detail |
---|
public java.lang.String getUserId()
public void setUserId(java.lang.String userId)
userId
- the not null
e-mail addresspublic AppAdminFactory.PasswordPrompt getPasswordPrompt()
AppAdminFactory.PasswordPrompt
to be usedpublic void setPasswordPrompt(AppAdminFactory.PasswordPrompt prompt)
prompt
- the AppAdminFactory.PasswordPrompt
that's being usedpublic java.lang.String getServer()
public void setServer(java.lang.String server)
server
- May be set to null
to use the default server.public java.lang.String getHost()
public void setHost(java.lang.String host)
host
- May be set to null
to use the default host name.public void setRetainUploadDir(boolean flag)
public boolean getRetainUploadDir()
true
if the upload directory should not be deleted.
public java.lang.String getSdkRoot()
public void setSdkRoot(java.lang.String sdkRoot)
sdkRoot
- the not null
path to the SDKpublic com.google.appengine.tools.util.ClientCookieManager getCookies()
setCookies(ClientCookieManager)
.public void setCookies(com.google.appengine.tools.util.ClientCookieManager cookies)
ClientCookieManager
to store cookies received from
the server, for later reuse in other requests.
cookies
- the cookie manager to usepublic boolean getSecure()
public void setSecure(boolean secure)
secure
- true for HTTPS, false for HTTPpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |