Interface ILuaAPIFactory

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 ILuaAPIFactory
Construct an ILuaAPI for a specific computer.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a new API instance for a given computer.
  • Method Details

    • create

      @Nullable ILuaAPI create(IComputerSystem computer)
      Create a new API instance for a given computer.
      Parameters:
      computer - The computer this API is for.
      Returns:
      The created API, or null if one should not be injected.