Class CompilerKotlin
- java.lang.Object
-
- org.adoptopenjdk.jitwatch.process.AbstractProcess
-
- org.adoptopenjdk.jitwatch.process.compiler.CompilerKotlin
-
- All Implemented Interfaces:
ICompiler,IExternalProcess
public class CompilerKotlin extends AbstractProcess implements ICompiler
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringCOMPILER_NAMEprivate java.nio.file.PathcompilerPathstatic java.lang.StringKOTLIN_EXECUTABLE_JAR-
Fields inherited from class org.adoptopenjdk.jitwatch.process.AbstractProcess
logger
-
-
Constructor Summary
Constructors Constructor Description CompilerKotlin(java.lang.String languageHomeDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancompile(java.util.List<java.io.File> sourceFiles, java.util.List<java.lang.String> classpathEntries, java.util.List<java.lang.String> vmOptions, java.io.File outputDir, java.util.Map<java.lang.String,java.lang.String> environment, ILogListener logListener)-
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
-
-
-
-
Field Detail
-
compilerPath
private java.nio.file.Path compilerPath
-
COMPILER_NAME
private final java.lang.String COMPILER_NAME
- See Also:
- Constant Field Values
-
KOTLIN_EXECUTABLE_JAR
public static final java.lang.String KOTLIN_EXECUTABLE_JAR
- See Also:
- Constant Field Values
-
-
Method Detail
-
compile
public boolean compile(java.util.List<java.io.File> sourceFiles, java.util.List<java.lang.String> classpathEntries, java.util.List<java.lang.String> vmOptions, java.io.File outputDir, java.util.Map<java.lang.String,java.lang.String> environment, ILogListener logListener) throws java.io.IOException
-
-