Interface SourceCodeSupplier

All Superinterfaces:
Serializable, Supplier<String>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SourceCodeSupplier extends Supplier<String>, Serializable
A lambda that can provide the source code for a given script.

It is expected that this is implemented externally, from Rhino users.

See Also:
  • CompileRequest.Builder#sourceSupplier(ISourceCodeSupplier)
  • Method Summary

    Methods inherited from interface java.util.function.Supplier

    get