Interface ElementSupplier<T>
- Type Parameters:
T
- the type of element to be written
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Creates or gets a element to output files together with a
ElementWriter
.
This exists primarily facilitate lazy creation of an element (only if an output is enabled by the rules).
- Author:
- Owen Feehan
-
Method Summary
-
Method Details
-
get
Gets/creates the element to be written.- Returns:
- the element to be written
- Throws:
OutputWriteFailedException
- if unable to successfully supply an element to be written.
-