|
||||||||||
| 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 java.lang.String |
appDir
Overrides where the Project War Directory is located. |
protected java.lang.String |
appId
The app id. |
protected java.lang.String |
appVersion
The app version. |
protected static java.lang.String[] |
ARG_TYPE
|
protected org.codehaus.plexus.PlexusContainer |
container
Plexus container, needed to manually lookup components. |
protected java.lang.String |
emailAccount
Deprecated. use maven settings.xml/server/username and "serverId" parameter |
protected java.lang.String |
encoding
The character encoding scheme to be applied interacting with the SDK. |
protected java.util.Properties |
gaeProperties
|
protected java.util.List<java.lang.String> |
goalArguments
Arbitrary list of Goal Arguments to pass along to the app engine task. |
protected java.lang.String |
hostString
Overrides the Host header sent with all RPCs. |
protected boolean |
keepTempUploadDir
Do not delete temporary directory used in uploading. |
protected java.lang.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 java.lang.String |
proxy
Tell AppCfg to use a proxy. |
protected java.lang.String |
sdkDir
Specifies where the Google App Engine SDK is located. |
protected java.lang.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 java.lang.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 | |
|---|---|
void |
contextualize(org.codehaus.plexus.context.Context context)
|
protected void |
ensureSystemProperties()
Groups alterations to System properties for the proper execution of the actual GAE code. |
protected java.util.List<java.lang.String> |
getAppCfgArgs()
Generate all common Google AppEngine Task Parameters for use in all the goals. |
protected java.util.List<java.lang.String> |
getCommonArgs()
|
protected boolean |
hasServerSettings()
|
protected void |
runAppCfg(java.lang.String command,
java.lang.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 java.lang.String[] ARG_TYPE
protected org.codehaus.plexus.PlexusContainer container
protected org.apache.maven.settings.Settings settings
protected java.lang.String encoding
protected java.lang.String appDir
protected java.lang.String sdkDir
protected boolean splitJars
@Deprecated protected java.lang.String emailAccount
protected java.lang.String serverId
protected java.lang.String uploadServer
protected java.lang.String appId
protected java.lang.String appVersion
protected java.lang.String hostString
protected boolean keepTempUploadDir
protected boolean passIn
protected java.lang.String proxy
protected boolean wait
protected int monitorPort
protected java.lang.String monitorKey
protected java.util.List<java.lang.String> goalArguments
protected java.util.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(java.lang.String command,
java.lang.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 ensureSystemProperties() fails
protected void ensureSystemProperties()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException - When the gae.home variable cannot be set.protected java.util.List<java.lang.String> getAppCfgArgs()
protected final java.util.List<java.lang.String> getCommonArgs()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||