net.kindleit.gae
Class LogsGoal

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by net.kindleit.gae.EngineGoalBase
          extended by net.kindleit.gae.LogsGoal
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class LogsGoal
extends EngineGoalBase

Retrieves logs from Google's servers.

Author:
jpeynado@kindleit.net

Field Summary
protected  int days
          Number of days to retrieve from the log.
protected  java.io.File outputFile
          Log report output file.
protected  java.lang.Integer severity
          Severity Log level to retrieve.
 
Fields inherited from class net.kindleit.gae.EngineGoalBase
appDir, appId, appVersion, ARG_TYPE, container, emailAccount, encoding, gaeProperties, goalArguments, hostString, keepTempUploadDir, monitorKey, monitorPort, passIn, proxy, sdkDir, serverId, settings, splitJars, uploadServer, wait
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
LogsGoal()
           
 
Method Summary
 void execute()
           
protected  java.util.List<java.lang.String> getAppCfgArgs()
          Generate all common Google AppEngine Task Parameters for use in all the goals.
 
Methods inherited from class net.kindleit.gae.EngineGoalBase
contextualize, ensureSystemProperties, getCommonArgs, hasServerSettings, runAppCfg
 
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
 

Field Detail

outputFile

protected java.io.File outputFile
Log report output file.


days

protected int days
Number of days to retrieve from the log.


severity

protected java.lang.Integer severity
Severity Log level to retrieve.

Constructor Detail

LogsGoal

public LogsGoal()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

getAppCfgArgs

protected java.util.List<java.lang.String> getAppCfgArgs()
Description copied from class: EngineGoalBase
Generate all common Google AppEngine Task Parameters for use in all the goals.

Overrides:
getAppCfgArgs in class EngineGoalBase
Returns:
List of arguments to add.


Copyright © 2009-2012 KindleIT. All Rights Reserved.