de.saumya.mojo.rails
Class AbstractRailsMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by de.saumya.mojo.jruby.AbstractJRubyMojo
          extended by de.saumya.mojo.gem.AbstractGemMojo
              extended by de.saumya.mojo.rails.AbstractRailsMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
ConsoleMojo, GenerateMojo, RakeMojo, ServerMojo

public abstract class AbstractRailsMojo
extends AbstractGemMojo

abstract rails mojo which provides a few helper methods and the rails.args parameter.


Nested Class Summary
 
Nested classes/interfaces inherited from class de.saumya.mojo.gem.AbstractGemMojo
AbstractGemMojo.UpdateCheckManager
 
Field Summary
protected  java.lang.String args
           
protected  java.io.File dir
           
protected  java.lang.String env
          either development or test or production or whatever else is possible with your config
 
Fields inherited from class de.saumya.mojo.gem.AbstractGemMojo
includeOpenSSL, pluginArtifacts
 
Fields inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo
artifactFactory, artifacts, builder, fork, gemHome, gemPath, home, launchDirectory, launchMemory, localRepository, metadata, outputDirectory, outputFile, project, remoteRepositories, resolver, verbose, version
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractRailsMojo()
           
 
Method Summary
protected  java.io.File binDirectory()
           
protected  java.lang.StringBuilder binScript(java.lang.String script)
           
protected  java.io.File launchDirectory()
           
protected  java.lang.StringBuilder railsScript(java.lang.String command)
           
 
Methods inherited from class de.saumya.mojo.gem.AbstractGemMojo
execute, execute, executeWithGems
 
Methods inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo
ensureGem, ensureGems, execute, execute, execute, execute, execute, fileFromClassloader, resolveTransitively
 
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

args

protected java.lang.String args

dir

protected java.io.File dir

env

protected java.lang.String env
either development or test or production or whatever else is possible with your config

Constructor Detail

AbstractRailsMojo

public AbstractRailsMojo()
Method Detail

launchDirectory

protected java.io.File launchDirectory()
Overrides:
launchDirectory in class AbstractJRubyMojo

binDirectory

protected java.io.File binDirectory()

binScript

protected java.lang.StringBuilder binScript(java.lang.String script)

railsScript

protected java.lang.StringBuilder railsScript(java.lang.String command)


Copyright © 2010. All Rights Reserved.