de.saumya.mojo.ruby.rails
Class RailsService

java.lang.Object
  extended by de.saumya.mojo.ruby.rails.RailsService

public class RailsService
extends Object


Constructor Summary
RailsService(RailsState state, org.sonatype.aether.RepositorySystemSession repositorySystemSession, ScriptFactory factory, GemManager gemManager, RailsManager manager)
           
 
Method Summary
 void createNew(String appPath, String railsVersion, String... args)
           
 void generate(String generator, String... args)
           
 void rake(String tasks)
           
 void resetState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RailsService

public RailsService(RailsState state,
                    org.sonatype.aether.RepositorySystemSession repositorySystemSession,
                    ScriptFactory factory,
                    GemManager gemManager,
                    RailsManager manager)
             throws RailsException,
                    IOException
Throws:
RailsException
IOException
Method Detail

resetState

public void resetState()
                throws RailsException,
                       IOException
Throws:
RailsException
IOException

createNew

public void createNew(String appPath,
                      String railsVersion,
                      String... args)
               throws RailsException,
                      GemException,
                      IOException,
                      ScriptException
Throws:
RailsException
GemException
IOException
ScriptException

rake

public void rake(String tasks)
          throws IOException,
                 ScriptException,
                 GemException,
                 RailsException
Throws:
IOException
ScriptException
GemException
RailsException

generate

public void generate(String generator,
                     String... args)
              throws IOException,
                     ScriptException,
                     GemException,
                     RailsException
Throws:
IOException
ScriptException
GemException
RailsException


Copyright © 2011. All Rights Reserved.