|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.tools.admin.Application
public class Application
An App Engine application. You can read
an
Application
from a path, and
create
an AppAdmin
to upload, create
indexes, or otherwise manage it.
Method Summary | |
---|---|
void |
cleanStagingDirectory()
deletes the staging directory, if one was created. |
AppEngineWebXml |
getAppEngineWebXml()
Returns the AppEngineWebXml describing the application. |
java.lang.String |
getAppId()
Returns the application identifier, from the AppEngineWebXml config |
CronXml |
getCronXml()
Returns the CronXml describing the applications' cron jobs. |
IndexesXml |
getIndexesXml()
Returns the CronXml describing the applications' cron jobs. |
java.lang.String |
getPath()
Returns a path to an exploded WAR directory for the application. |
QueueXml |
getQueueXml()
Returns the QueueXml describing the applications' task queues. |
java.io.File |
getStagingDir()
Returns the staging directory, or null if none has been created. |
java.lang.String |
getVersion()
Returns the application version, from the AppEngineWebXml config |
WebXml |
getWebXml()
Returns the WebXml describing the applications' servlets and generic web application information. |
static Application |
readApplication(java.lang.String path)
Reads the App Engine application from path . |
static void |
recursiveDelete(java.io.File dead)
Recursive directory deletion. |
void |
statusUpdate(java.lang.String message)
|
void |
statusUpdate(java.lang.String message,
int amount)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Application readApplication(java.lang.String path) throws java.io.IOException
path
. The path may either
be a WAR file or the root of an exploded WAR directory.
path
- a not null
path.
java.io.IOException
- if an error occurs while trying to read the Application
com.google.apphosting.utils.config.AppEngineConfigException
- if the
Application's
appengine-web.xml file is malformed.public java.lang.String getAppId()
public java.lang.String getVersion()
public AppEngineWebXml getAppEngineWebXml()
null
deployment descriptorpublic CronXml getCronXml()
null
public QueueXml getQueueXml()
null
public IndexesXml getIndexesXml()
null
public WebXml getWebXml()
null
public java.lang.String getPath()
null
path pointing to a directorypublic java.io.File getStagingDir()
null
if none has been created.
public void cleanStagingDirectory()
public static void recursiveDelete(java.io.File dead)
public void statusUpdate(java.lang.String message, int amount)
public void statusUpdate(java.lang.String message)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |