Class ServerRunner

All Implemented Interfaces:
IScriptRunner

public class ServerRunner
extends AbstractScriptRunner
EXPERIMENTAL --- NOT official API
not as is in version 2
  • Field Details

  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Description copied from interface: IScriptRunner
      Gets the name of the ScriptRunner. Should be unique. This value is needed to distinguish between different ScriptRunners.
      Returns:
      Name to identify the ScriptRunner or null if not available
    • getExtensions

      public String[] getExtensions()
      Description copied from interface: IScriptRunner
      returns the list of possible script file extensions, first is the default
      Returns:
      array of strings
    • getType

      public String getType()
      Description copied from interface: IScriptRunner
      return the type of script this handler can execute.
      Returns:
    • run

      public static boolean run()