Package org.instancio

Interface OnCompleteCallback<T>

  • Type Parameters:
    T - type handled by the callback
    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 OnCompleteCallback<T>
    A callback that gets invoked after an object has been fully populated.
    • Method Detail

      • onComplete

        void onComplete​(T object)
        Method called after object has been populated.
        Parameters:
        object - fully populated instance to call the callback on