org.codehaus.mojo.shitty
Class TestMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.groovy.maven.mojo.GroovyMojo
          extended by org.codehaus.mojo.shitty.ShittyMojoSupport
              extended by org.codehaus.mojo.shitty.TestMojo
All Implemented Interfaces:
groovy.lang.GroovyObject, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class TestMojo
extends ShittyMojoSupport

Invoke child Maven builds to perform super helpful integration testing.

Since:
1.0-alpha-1
Version:
$Id: TestMojo.groovy 6726 2008-04-08 14:37:19Z user57 $
Author:
Jason Dillon

Field Summary
 
Fields inherited from class org.codehaus.groovy.maven.mojo.GroovyMojo
__timeStamp, __timeStamp__239_neverHappen1237298031314, sanitizeErrors
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TestMojo()
           
 
Method Summary
 void execute()
           
 java.lang.String getBuildLogFile()
           
 boolean getColor()
           
 boolean getDebug()
           
 java.lang.String getFlags()
           
 java.lang.String getFlagsFile()
           
 java.lang.String getGoalsFile()
           
 boolean getIgnoreFailures()
           
 groovy.lang.MetaClass getMetaClass()
           
 boolean getOffline()
           
 boolean getParallel()
           
 int getParallelTimeOut()
           
 org.apache.maven.shared.model.fileset.FileSet[] getProjects()
           
 java.lang.String getPropertiesFile()
           
 java.lang.Object getProperty(java.lang.String name)
           
 org.apache.maven.settings.Settings getSettings()
           
 java.lang.String getSetupScriptFilename()
           
 boolean getSkip()
           
 java.lang.String getTests()
           
 int getThreadCount()
           
 java.lang.String getValidateScriptFilename()
           
 boolean getVerbose()
           
 java.io.File getWorkingDirectory()
           
 java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)
           
 boolean isColor()
           
 boolean isDebug()
           
 boolean isIgnoreFailures()
           
 boolean isOffline()
           
 boolean isParallel()
           
 boolean isSkip()
           
 boolean isVerbose()
           
 void setBuildLogFile(java.lang.String value)
           
 void setColor(boolean value)
           
 void setDebug(boolean value)
           
 void setFlags(java.lang.String value)
           
 void setFlagsFile(java.lang.String value)
           
 void setGoalsFile(java.lang.String value)
           
 void setIgnoreFailures(boolean value)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setOffline(boolean value)
           
 void setParallel(boolean value)
           
 void setParallelTimeOut(int value)
           
 void setProjects(org.apache.maven.shared.model.fileset.FileSet[] value)
           
 void setPropertiesFile(java.lang.String value)
           
 void setProperty(java.lang.String name, java.lang.Object value)
           
 void setSettings(org.apache.maven.settings.Settings value)
           
 void setSetupScriptFilename(java.lang.String value)
           
 void setSkip(boolean value)
           
 void setTests(java.lang.String value)
           
 void setThreadCount(int value)
           
 void setValidateScriptFilename(java.lang.String value)
           
 void setVerbose(boolean value)
           
 void setWorkingDirectory(java.io.File value)
           
 
Methods inherited from class org.codehaus.mojo.shitty.ShittyMojoSupport
getProject, resolveFileSet, setProject
 
Methods inherited from class org.codehaus.groovy.maven.mojo.GroovyMojo
afterExecute, beforeExecute, fail, fail, getAnt
 
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
 

Constructor Detail

TestMojo

public TestMojo()
Method Detail

getProjects

public org.apache.maven.shared.model.fileset.FileSet[] getProjects()

setProjects

public void setProjects(org.apache.maven.shared.model.fileset.FileSet[] value)

getWorkingDirectory

public java.io.File getWorkingDirectory()

setWorkingDirectory

public void setWorkingDirectory(java.io.File value)

getSkip

public boolean getSkip()

isSkip

public boolean isSkip()

setSkip

public void setSkip(boolean value)

getIgnoreFailures

public boolean getIgnoreFailures()

isIgnoreFailures

public boolean isIgnoreFailures()

setIgnoreFailures

public void setIgnoreFailures(boolean value)

getTests

public java.lang.String getTests()

setTests

public void setTests(java.lang.String value)

getGoalsFile

public java.lang.String getGoalsFile()

setGoalsFile

public void setGoalsFile(java.lang.String value)

getBuildLogFile

public java.lang.String getBuildLogFile()

setBuildLogFile

public void setBuildLogFile(java.lang.String value)

getFlagsFile

public java.lang.String getFlagsFile()

setFlagsFile

public void setFlagsFile(java.lang.String value)

getFlags

public java.lang.String getFlags()

setFlags

public void setFlags(java.lang.String value)

getPropertiesFile

public java.lang.String getPropertiesFile()

setPropertiesFile

public void setPropertiesFile(java.lang.String value)

getSetupScriptFilename

public java.lang.String getSetupScriptFilename()

setSetupScriptFilename

public void setSetupScriptFilename(java.lang.String value)

getValidateScriptFilename

public java.lang.String getValidateScriptFilename()

setValidateScriptFilename

public void setValidateScriptFilename(java.lang.String value)

getOffline

public boolean getOffline()

isOffline

public boolean isOffline()

setOffline

public void setOffline(boolean value)

getColor

public boolean getColor()

isColor

public boolean isColor()

setColor

public void setColor(boolean value)

getParallel

public boolean getParallel()

isParallel

public boolean isParallel()

setParallel

public void setParallel(boolean value)

getThreadCount

public int getThreadCount()

setThreadCount

public void setThreadCount(int value)

getParallelTimeOut

public int getParallelTimeOut()

setParallelTimeOut

public void setParallelTimeOut(int value)

getVerbose

public boolean getVerbose()

isVerbose

public boolean isVerbose()

setVerbose

public void setVerbose(boolean value)

getDebug

public boolean getDebug()

isDebug

public boolean isDebug()

setDebug

public void setDebug(boolean value)

getSettings

public org.apache.maven.settings.Settings getSettings()

setSettings

public void setSettings(org.apache.maven.settings.Settings value)

execute

public void execute()

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject
Overrides:
getMetaClass in class ShittyMojoSupport

setMetaClass

public void setMetaClass(groovy.lang.MetaClass metaClass)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject
Overrides:
setMetaClass in class ShittyMojoSupport

invokeMethod

public java.lang.Object invokeMethod(java.lang.String name,
                                     java.lang.Object args)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject
Overrides:
invokeMethod in class ShittyMojoSupport

getProperty

public java.lang.Object getProperty(java.lang.String name)
Specified by:
getProperty in interface groovy.lang.GroovyObject
Overrides:
getProperty in class ShittyMojoSupport

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject
Overrides:
setProperty in class ShittyMojoSupport


Copyright © 2007-2010. All Rights Reserved.