public final class Setup
extends java.lang.Object
implements java.io.Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
Setup(PerClasspathEntryLookup _perClasspathEntryLookup,
boolean _skip,
java.io.File _cacheFile,
GlobalsCache _cache,
IncOptions _incrementalCompilerOptions,
Reporter _reporter,
java.util.Optional<CompileProgress> _progress,
xsbti.T2<java.lang.String,java.lang.String>[] _extra) |
| Modifier and Type | Method and Description |
|---|---|
GlobalsCache |
cache() |
java.io.File |
cacheFile()
The file used to cache information across compilations.
|
static Setup |
create(PerClasspathEntryLookup _perClasspathEntryLookup,
boolean _skip,
java.io.File _cacheFile,
GlobalsCache _cache,
IncOptions _incrementalCompilerOptions,
Reporter _reporter,
java.util.Optional<CompileProgress> _progress,
xsbti.T2<java.lang.String,java.lang.String>[] _extra) |
boolean |
equals(java.lang.Object obj) |
xsbti.T2<java.lang.String,java.lang.String>[] |
extra() |
int |
hashCode() |
IncOptions |
incrementalCompilerOptions() |
static Setup |
of(PerClasspathEntryLookup _perClasspathEntryLookup,
boolean _skip,
java.io.File _cacheFile,
GlobalsCache _cache,
IncOptions _incrementalCompilerOptions,
Reporter _reporter,
java.util.Optional<CompileProgress> _progress,
xsbti.T2<java.lang.String,java.lang.String>[] _extra) |
PerClasspathEntryLookup |
perClasspathEntryLookup()
Provides a lookup of data structures and operations associated with a single classpath entry.
|
java.util.Optional<CompileProgress> |
progress()
Optionally provide progress indication.
|
Reporter |
reporter()
The reporter that should be used to report scala compilation to.
|
boolean |
skip()
If true, no sources are actually compiled and the Analysis from the previous compilation is returned.
|
java.lang.String |
toString() |
Setup |
withCache(GlobalsCache cache) |
Setup |
withCacheFile(java.io.File cacheFile) |
Setup |
withExtra(xsbti.T2<java.lang.String,java.lang.String>[] extra) |
Setup |
withIncrementalCompilerOptions(IncOptions incrementalCompilerOptions) |
Setup |
withPerClasspathEntryLookup(PerClasspathEntryLookup perClasspathEntryLookup) |
Setup |
withProgress(java.util.Optional<CompileProgress> progress) |
Setup |
withReporter(Reporter reporter) |
Setup |
withSkip(boolean skip) |
protected Setup(PerClasspathEntryLookup _perClasspathEntryLookup, boolean _skip, java.io.File _cacheFile, GlobalsCache _cache, IncOptions _incrementalCompilerOptions, Reporter _reporter, java.util.Optional<CompileProgress> _progress, xsbti.T2<java.lang.String,java.lang.String>[] _extra)
public static Setup create(PerClasspathEntryLookup _perClasspathEntryLookup, boolean _skip, java.io.File _cacheFile, GlobalsCache _cache, IncOptions _incrementalCompilerOptions, Reporter _reporter, java.util.Optional<CompileProgress> _progress, xsbti.T2<java.lang.String,java.lang.String>[] _extra)
public static Setup of(PerClasspathEntryLookup _perClasspathEntryLookup, boolean _skip, java.io.File _cacheFile, GlobalsCache _cache, IncOptions _incrementalCompilerOptions, Reporter _reporter, java.util.Optional<CompileProgress> _progress, xsbti.T2<java.lang.String,java.lang.String>[] _extra)
public PerClasspathEntryLookup perClasspathEntryLookup()
public boolean skip()
public java.io.File cacheFile()
public GlobalsCache cache()
public IncOptions incrementalCompilerOptions()
public Reporter reporter()
public java.util.Optional<CompileProgress> progress()
public xsbti.T2<java.lang.String,java.lang.String>[] extra()
public Setup withPerClasspathEntryLookup(PerClasspathEntryLookup perClasspathEntryLookup)
public Setup withSkip(boolean skip)
public Setup withCacheFile(java.io.File cacheFile)
public Setup withCache(GlobalsCache cache)
public Setup withIncrementalCompilerOptions(IncOptions incrementalCompilerOptions)
public Setup withProgress(java.util.Optional<CompileProgress> progress)
public Setup withExtra(xsbti.T2<java.lang.String,java.lang.String>[] extra)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object