@Component(role=RailsManager.class) public class DefaultRailsManager extends Object implements RailsManager
RailsManager.ORM
Constructor and Description |
---|
DefaultRailsManager() |
Modifier and Type | Method and Description |
---|---|
void |
createNew(GemsInstaller installer,
Object repositorySystemSession,
File appPath,
String database,
String railsVersion,
RailsManager.ORM orm,
String... args) |
void |
createNew(GemsInstaller installer,
Object repositorySystemSession,
File appPath,
String database,
String railsVersion,
RailsManager.ORM orm,
String template,
GwtOptions gwt,
String... args) |
void |
generate(GemsInstaller installer,
Object repositorySystemSession,
File launchDirectory,
String generator,
String... args) |
void |
initInstaller(GemsInstaller installer,
File launchDirectory) |
void |
installGems(GemsInstaller gemsInstaller,
Object repositorySystemSession) |
void |
rake(GemsInstaller installer,
Object repositorySystemSession,
File launchDirectory,
String environment,
String task,
String... args) |
public void initInstaller(GemsInstaller installer, File launchDirectory) throws RailsException, IOException
initInstaller
in interface RailsManager
RailsException
IOException
public void createNew(GemsInstaller installer, Object repositorySystemSession, File appPath, String database, String railsVersion, RailsManager.ORM orm, String... args) throws RailsException, GemException, IOException, ScriptException
createNew
in interface RailsManager
RailsException
GemException
IOException
ScriptException
public void createNew(GemsInstaller installer, Object repositorySystemSession, File appPath, String database, String railsVersion, RailsManager.ORM orm, String template, GwtOptions gwt, String... args) throws RailsException, GemException, IOException, ScriptException
createNew
in interface RailsManager
RailsException
GemException
IOException
ScriptException
public void rake(GemsInstaller installer, Object repositorySystemSession, File launchDirectory, String environment, String task, String... args) throws IOException, ScriptException, GemException, RailsException
rake
in interface RailsManager
IOException
ScriptException
GemException
RailsException
public void generate(GemsInstaller installer, Object repositorySystemSession, File launchDirectory, String generator, String... args) throws IOException, ScriptException, GemException, RailsException
generate
in interface RailsManager
IOException
ScriptException
GemException
RailsException
public void installGems(GemsInstaller gemsInstaller, Object repositorySystemSession) throws IOException, ScriptException, GemException, RailsException
installGems
in interface RailsManager
IOException
ScriptException
GemException
RailsException
Copyright © 2017. All rights reserved.