|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
net.kindleit.gae.EngineGoalBase
public abstract class EngineGoalBase
Base MOJO class for working with the Google App Engine SDK.
| Field Summary | |
|---|---|
protected String |
appDir
Overrides where the Project War Directory is located. |
protected static String[] |
ARG_TYPE
|
protected org.codehaus.plexus.PlexusContainer |
container
Plexus container, needed to manually lookup components. |
protected String |
emailAccount
Deprecated. use maven settings.xml/server/username and "serverId" parameter |
protected Properties |
gaeProperties
|
protected String |
hostString
Overrides the Host header sent with all RPCs. |
protected boolean |
keepTempUploadDir
Do not delete temporary directory used in uploading. |
protected String |
monitorKey
Key to provide when making stop requests. |
protected int |
monitorPort
Port to listen for stop requests on. |
protected boolean |
passIn
Always read the login password from stdin. |
protected String |
proxy
Tell AppCfg to use a proxy. |
protected String |
sdkDir
Specifies where the Google App Engine SDK is located. |
protected String |
serverId
The server id in maven settings.xml to use for emailAccount(username) and password when connecting to GAE. |
protected org.apache.maven.settings.Settings |
settings
The Maven settings reference. |
protected boolean |
splitJars
Split large jar files (> 10M) into smaller fragments. |
protected String |
uploadServer
The server to connect to. |
protected boolean |
wait
Decides whether to wait after the server is started or to return the execution flow to the user. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
EngineGoalBase()
|
|
| Method Summary | |
|---|---|
protected void |
assureSystemProperties()
Groups alterations to System properties for the proper execution of the actual GAE code. |
void |
contextualize(org.codehaus.plexus.context.Context context)
|
protected List<String> |
getAppCfgArgs()
Generate all common Google AppEngine Task Parameters for use in all the goals. |
protected List<String> |
getCommonArgs()
|
protected boolean |
hasServerSettings()
|
protected void |
runAppCfg(String command,
String... commandArguments)
Passes command to the Google App Engine AppCfg runner. |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.maven.plugin.Mojo |
|---|
execute |
| Field Detail |
|---|
protected static final String[] ARG_TYPE
protected org.codehaus.plexus.PlexusContainer container
protected org.apache.maven.settings.Settings settings
protected String appDir
protected String sdkDir
protected boolean splitJars
@Deprecated protected String emailAccount
protected String serverId
protected String uploadServer
protected String hostString
protected boolean keepTempUploadDir
protected boolean passIn
protected String proxy
protected boolean wait
protected int monitorPort
protected String monitorKey
protected Properties gaeProperties
| Constructor Detail |
|---|
public EngineGoalBase()
| Method Detail |
|---|
public void contextualize(org.codehaus.plexus.context.Context context)
throws org.codehaus.plexus.context.ContextException
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizableorg.codehaus.plexus.context.ContextExceptionprotected boolean hasServerSettings()
protected final void runAppCfg(String command,
String... commandArguments)
throws org.apache.maven.plugin.MojoExecutionException
command - command to run through AppCfgcommandArguments - arguments to the AppCfg command.
org.apache.maven.plugin.MojoExecutionException - If assureSystemProperties() fails
protected void assureSystemProperties()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException - When the gae.home variable cannot be set.protected final List<String> getAppCfgArgs()
protected final List<String> getCommonArgs()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||