Package com.yottabyte.crates.api
Class YottabyteCratesApi
- java.lang.Object
-
- com.yottabyte.crates.api.YottabyteCratesApi
-
- All Implemented Interfaces:
YottabyteCrates
public class YottabyteCratesApi extends Object implements YottabyteCrates
Entry point for the Yottabyte-Crates API
-
-
Constructor Summary
Constructors Constructor Description YottabyteCratesApi(YottabyteCrates plugin)
The constructor the Yottabyte-Crates plugin uses to initialize the API
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CrateManager
getCrateManager()
Gets theCrateManager
DataManager
getDataManager()
Gets theDataManager
static YottabyteCratesApi
getInstance()
Get the instance of the API
-
-
-
Constructor Detail
-
YottabyteCratesApi
public YottabyteCratesApi(YottabyteCrates plugin)
The constructor the Yottabyte-Crates plugin uses to initialize the API- Parameters:
plugin
- the Yottabyte-Crates plugin
-
-
Method Detail
-
getInstance
public static YottabyteCratesApi getInstance()
Get the instance of the API- Returns:
- the instance of the API
-
getCrateManager
public CrateManager getCrateManager()
Gets theCrateManager
- Specified by:
getCrateManager
in interfaceYottabyteCrates
- Returns:
- the
CrateManager
-
getDataManager
public DataManager getDataManager()
Gets theDataManager
- Specified by:
getDataManager
in interfaceYottabyteCrates
- Returns:
- the
DataManager
-
-