Package ml.karmaconfigs.api.common.karma
Interface KarmaAPI
- All Superinterfaces:
Serializable
Karma API
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic StringGet the API build datestatic StringGet the used java version to compile the APIstatic StringGet the current API versionstatic voidinstall()Install KarmaAPI dependenciesstatic booleanisLoaded(KarmaSource source)Get if the specified source jar is loadedstatic KarmaSourcesource(boolean force)Get the API source
-
Method Details
-
getVersion
Get the current API version- Returns:
- the current API version
-
getCompilerVersion
Get the used java version to compile the API- Returns:
- the java version used to compile the API
-
getBuildDate
Get the API build date- Returns:
- the API build date
-
isLoaded
Get if the specified source jar is loaded- Parameters:
source- the source- Returns:
- if the source jar is loaded
-
source
Get the API source- Parameters:
force- force default KarmaAPI- Returns:
- a KarmaSource
-
install
static void install()Install KarmaAPI dependencies
-