Interface CommandAPIVersionHandler


public interface CommandAPIVersionHandler
This file handles loading the correct platform implementation. The CommandAPIVersionHandler file within the commandapi-core module is NOT used at run time. Instead, the platform modules replace this class with their own version that handles loads the correct class for their version
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static CommandAPIPlatform<?,?,?>
    Returns an instance of the version's implementation of CommandAPIPlatform.
  • Method Details

    • getPlatform

      static CommandAPIPlatform<?,?,?> getPlatform()
      Returns an instance of the version's implementation of CommandAPIPlatform.
      Returns:
      an instance of CommandAPIPlatform which can run on the currently active server