@FunctionalInterface
public interface Initializer
Modifier and Type | Method and Description |
---|---|
boolean |
initialize(@NotNull Environment environment,
Document... documents)
Initialize compilations for the given
documents in the given environment . |
@Contract(mutates="param1") boolean initialize(@NotNull @NotNull Environment environment, @Nullable Document... documents)
documents
in the given environment
.
environment
- the environment to initialize the compilations in.documents
- the documents to initialize compilations for.documents
in the given compilation
, false
if there was already a
compilation foreach of the given documents
in the given environment
and this initializer has done nothing to any of them.java.lang.NullPointerException
- if the given environment
or documents
is null.java.lang.RuntimeException
- if any runtime exception occurs.java.lang.Error
- if any unexpected/non-recoverable exception occurs.