Package de.griefed.serverpackcreator.api
Object ApiWrapper.Companion
-
- All Implemented Interfaces:
public class ApiWrapper.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static ApiWrapper.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final ApiWrapperapi(File properties, Boolean runSetup)Acquire a new instance of the ServerPackCreator API. -
-
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.
-
-
-
-