final class CompileOptions extends Serializable
Compilation options
- Alphabetic
- By Inheritance
- CompileOptions
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CompileOptions(_classpath: Array[VirtualFile], _sources: Array[VirtualFile], _classesDirectory: Path, _scalacOptions: Array[String], _javacOptions: Array[String], _maxErrors: Int, _sourcePositionMapper: Function[Position, Position], _order: CompileOrder, _temporaryClassesDirectory: Path, _converter: FileConverter, _stamper: ReadStamps, _earlyOutput: Output)
- Attributes
- protected[compile]
-
new
CompileOptions(_classpath: Array[VirtualFile], _sources: Array[VirtualFile], _classesDirectory: Path, _scalacOptions: Array[String], _javacOptions: Array[String], _maxErrors: Int, _sourcePositionMapper: Function[Position, Position], _order: CompileOrder, _temporaryClassesDirectory: Optional[Path], _converter: Optional[FileConverter], _stamper: Optional[ReadStamps], _earlyOutput: Optional[Output])
- Attributes
- protected[compile]
-
new
CompileOptions(_classpath: Array[VirtualFile], _sources: Array[VirtualFile], _classesDirectory: Path, _scalacOptions: Array[String], _javacOptions: Array[String], _maxErrors: Int, _sourcePositionMapper: Function[Position, Position], _order: CompileOrder, _temporaryClassesDirectory: Path)
- Attributes
- protected[compile]
-
new
CompileOptions(_classpath: Array[VirtualFile], _sources: Array[VirtualFile], _classesDirectory: Path, _scalacOptions: Array[String], _javacOptions: Array[String], _maxErrors: Int, _sourcePositionMapper: Function[Position, Position], _order: CompileOrder, _temporaryClassesDirectory: Optional[Path])
- Attributes
- protected[compile]
-
new
CompileOptions(_classpath: Array[VirtualFile], _sources: Array[VirtualFile], _classesDirectory: Path, _scalacOptions: Array[String], _javacOptions: Array[String], _maxErrors: Int, _sourcePositionMapper: Function[Position, Position], _order: CompileOrder)
- Attributes
- protected[compile]
-
new
CompileOptions()
- Attributes
- protected[compile]
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def classesDirectory(): Path
-
def
classpath(): Array[VirtualFile]
The classpath to use for compilation.
The classpath to use for compilation. This will be modified according to the ClasspathOptions used to configure the ScalaCompiler.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
converter(): Optional[FileConverter]
FileConverter to convert between Path and VirtualFileRef.
-
def
earlyOutput(): Optional[Output]
Output for pickle JAR used for build pipelining
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(obj: Any): Boolean
- Definition Classes
- CompileOptions → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- CompileOptions → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
javacOptions(): Array[String]
The options to pass to the Java compiler other than the sources and classpath to use.
- def maxErrors(): Int
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
order(): CompileOrder
Controls the order in which Java and Scala sources are compiled.
-
def
scalacOptions(): Array[String]
The options to pass to the Scala compiler other than the sources and classpath to use.
- def sourcePositionMapper(): Function[Position, Position]
-
def
sources(): Array[VirtualFile]
All sources that should be recompiled.
All sources that should be recompiled. This should include Scala and Java sources, which are identified by their extension.
-
def
stamper(): Optional[ReadStamps]
ReadStamps to calculate timestamp or hash.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
temporaryClassesDirectory(): Optional[Path]
Points to a temporary classes directory where the compiler can put compilation products of any kind.
Points to a temporary classes directory where the compiler can put compilation products of any kind. The lifetime of these compilation products is short and the temporary classes directory only needs to exist during one incremental compiler cycle.
-
def
toString(): String
- Definition Classes
- CompileOptions → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withClassesDirectory(classesDirectory: Path): CompileOptions
- def withClasspath(classpath: Array[VirtualFile]): CompileOptions
- def withConverter(converter: FileConverter): CompileOptions
- def withConverter(converter: Optional[FileConverter]): CompileOptions
- def withEarlyOutput(earlyOutput: Output): CompileOptions
- def withEarlyOutput(earlyOutput: Optional[Output]): CompileOptions
- def withJavacOptions(javacOptions: Array[String]): CompileOptions
- def withMaxErrors(maxErrors: Int): CompileOptions
- def withOrder(order: CompileOrder): CompileOptions
- def withScalacOptions(scalacOptions: Array[String]): CompileOptions
- def withSourcePositionMapper(sourcePositionMapper: Function[Position, Position]): CompileOptions
- def withSources(sources: Array[VirtualFile]): CompileOptions
- def withStamper(stamper: ReadStamps): CompileOptions
- def withStamper(stamper: Optional[ReadStamps]): CompileOptions
- def withTemporaryClassesDirectory(temporaryClassesDirectory: Path): CompileOptions
- def withTemporaryClassesDirectory(temporaryClassesDirectory: Optional[Path]): CompileOptions