public interface BuildEventDispatcher extends java.lang.Appendable, java.io.Closeable, BuildProgressListener
UNKNOWN_BUILD_ID
Modifier and Type | Method and Description |
---|---|
default BuildEventDispatcher |
append(char c) |
default BuildEventDispatcher |
append(java.lang.CharSequence csq) |
default BuildEventDispatcher |
append(java.lang.CharSequence csq,
int start,
int end) |
default void |
close() |
default void |
invokeOnCompletion(java.util.function.Consumer<java.lang.Throwable> consumer)
Registers handler which is invoked once the build process is finished and the build messages are dispatched.
|
default void |
setStdOut(boolean stdOut) |
onEvent, onEvent
default BuildEventDispatcher append(java.lang.CharSequence csq)
append
in interface java.lang.Appendable
default BuildEventDispatcher append(java.lang.CharSequence csq, int start, int end)
append
in interface java.lang.Appendable
default BuildEventDispatcher append(char c)
append
in interface java.lang.Appendable
default void invokeOnCompletion(java.util.function.Consumer<java.lang.Throwable> consumer)
java.lang.UnsupportedOperationException
- if underlying implementation doesn't support invokeOnCompletion(java.util.function.Consumer<java.lang.Throwable>)
.default void close()
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
default void setStdOut(boolean stdOut)