Class Engine

    • Constructor Detail

      • Engine

        public Engine​(@NotNull
                      @NotNull Path l)
               throws IOException
        Engine constructor. The main differences between Engine and BaseEngine are:
        • BaseEngine is only used to storage base information of engine
        • BaseEngine is used when the engine location doesn't exist, but at some point it did.
        • Engine verify if the engine location exist, also check if the location is a valid executable file.
        • Engine determine the engine version by executing a special command
        Parameters:
        l - Target engine location
        Throws:
        IOException - Error if file not exists or file is not a valid binary file
      • Engine

        public Engine​(@NotNull
                      @NotNull BaseEngine engine)
               throws IOException
        Engine constructor. Pass another BaseEngine instance to create a new engine instance.
        Parameters:
        engine - Target engine base instance
        Throws:
        IOException - Error if location not exists or file is not a valid binary file