Class RuntimeJRuby
- java.lang.Object
-
- org.adoptopenjdk.jitwatch.process.AbstractProcess
-
- org.adoptopenjdk.jitwatch.process.runtime.RuntimeJRuby
-
- All Implemented Interfaces:
IExternalProcess,IRuntime
public class RuntimeJRuby extends AbstractProcess implements IRuntime
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringRUNTIME_NAMEprivate java.nio.file.PathruntimePath-
Fields inherited from class org.adoptopenjdk.jitwatch.process.AbstractProcess
logger
-
-
Constructor Summary
Constructors Constructor Description RuntimeJRuby(java.lang.String languageHomeDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(java.nio.file.Path workingDir, java.lang.String className, java.util.List<java.lang.String> classpathEntries, java.util.List<java.lang.String> vmOptions, java.util.Map<java.lang.String,java.lang.String> environment, ILogListener logListener)java.lang.StringgetClassForTriView(java.io.File fileToRun)java.lang.StringgetClassToExecute(java.io.File fileToRun)-
Methods inherited from class org.adoptopenjdk.jitwatch.process.AbstractProcess
getErrorStream, getExecutableSuffix, getLaunchScriptSuffix, getOutputStream, isWindows, makeClassPath, runCommands, runCommands
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.adoptopenjdk.jitwatch.process.IExternalProcess
getErrorStream, getOutputStream
-
-
-
-
Method Detail
-
execute
public boolean execute(java.nio.file.Path workingDir, java.lang.String className, java.util.List<java.lang.String> classpathEntries, java.util.List<java.lang.String> vmOptions, java.util.Map<java.lang.String,java.lang.String> environment, ILogListener logListener)
-
getClassToExecute
public java.lang.String getClassToExecute(java.io.File fileToRun)
- Specified by:
getClassToExecutein interfaceIRuntime
-
getClassForTriView
public java.lang.String getClassForTriView(java.io.File fileToRun)
- Specified by:
getClassForTriViewin interfaceIRuntime
-
-