public interface Output
extends java.io.Serializable
Inheritors are SingleOutput
with a global output directory and
MultipleOutput
that specifies the output directory per source file.
These two subclasses exist to satisfy the Scala compiler which accepts both single and multiple targets. These targets may depend on the sources to be compiled.
Note that Javac does not support multiple output and any attempt to use it will result in a runtime exception.
This class is used both as an input to the compiler and as an output of the
CompileAnalysis
.
Modifier and Type | Method and Description |
---|---|
java.util.Optional<OutputGroup[]> |
getMultipleOutput()
Returns the multiple outputs passed or to be passed to the Scala compiler.
|
java.util.Optional<java.io.File> |
getSingleOutput()
Returns the single output passed or to be passed to the Scala or Java compiler.
|
java.util.Optional<OutputGroup[]> getMultipleOutput()
Optional.EMPTY
.MultipleOutput
java.util.Optional<java.io.File> getSingleOutput()
Optional.EMPTY
.SingleOutput