|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.radrails.rails.core.RailsRuntime
Handles the runtime for the Rails plugins.
Constructor Summary | |
RailsRuntime()
|
Method Summary | |
static int |
runCommand(java.io.File location,
java.util.List args,
org.eclipse.core.runtime.IProgressMonitor monitor)
Runs the specified commands in the specified location using the specified progress monitor. |
static int |
runGenerateCommand(java.io.File project,
java.util.List args,
org.eclipse.core.runtime.IProgressMonitor monitor)
Runs the generate command. |
static int |
runRailsCommand(java.io.File projectLocation,
java.util.List args,
org.eclipse.core.runtime.IProgressMonitor monitor)
Runs the "rails" program with the specified arguments. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RailsRuntime()
Method Detail |
public static int runCommand(java.io.File location, java.util.List args, org.eclipse.core.runtime.IProgressMonitor monitor)
location
- The location to run the command inargs
- The commands to run, the first in the list being the
program to execute, followed by its arguments.monitor
- The progress monitor to monitor the progress of
the program's execution.
public static int runRailsCommand(java.io.File projectLocation, java.util.List args, org.eclipse.core.runtime.IProgressMonitor monitor)
args
- The arguments to pass into the rails command.monitor
- The progress monitor to use.
public static int runGenerateCommand(java.io.File project, java.util.List args, org.eclipse.core.runtime.IProgressMonitor monitor)
project
- The location to the project to run the command.args
- The command line arguments to add to the generate command.monitor
- The progress monitor to use.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |