Object ApiWrapper.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final ApiWrapper api(File properties, Boolean runSetup) Acquire a new instance of the ServerPackCreator API.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • api

        @Synchronized() final ApiWrapper api(File properties, Boolean runSetup)

        Acquire a new instance of the ServerPackCreator API.

        Parameters:
        properties - A ServerPackCreator properties-file to use for API initialization.
        runSetup - Whether to run the initial setup, creating and copying all required files to the filesystem and ensuring the home-directory is properly set up and available to the API.