Interface ICode

  • 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 ICode
    Interface to an arbitrary piece of code that runs and can do logging.
    Since:
    1.2.6
    Author:
    Jonathan Locke
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void run​(org.slf4j.Logger log)
      Override this method to provide the code to run as a Task.
    • Method Detail

      • run

        void run​(org.slf4j.Logger log)
        Override this method to provide the code to run as a Task.
        Parameters:
        log - the log that will be used by the code