Index

A C D E F G I L M O P S 
All Classes and Interfaces|All Packages|Serialized Form

A

Addon - Class in me.hsgamer.hscore.addon.object
The main class of the addon
Addon() - Constructor for class me.hsgamer.hscore.addon.object.Addon
Create an addon
AddonClassLoader - Class in me.hsgamer.hscore.addon.object
The class loader of the addon
AddonClassLoader(AddonManager, File, AddonDescription, ClassLoader) - Constructor for class me.hsgamer.hscore.addon.object.AddonClassLoader
Create an Addon Class Loader
AddonDescription - Class in me.hsgamer.hscore.addon.object
The description for the Addon
AddonDescription(String, String, String, Map<String, Object>) - Constructor for class me.hsgamer.hscore.addon.object.AddonDescription
Create an addon description
AddonDescriptionLoader - Interface in me.hsgamer.hscore.addon.loader
The interface to load AddonDescription from jar file
AddonManager - Class in me.hsgamer.hscore.addon
A class that manages all addons in it
AddonManager(File, Logger, AddonDescriptionLoader) - Constructor for class me.hsgamer.hscore.addon.AddonManager
Create a new addon manager
AddonManager(File, Logger, AddonDescriptionLoader, ClassLoader) - Constructor for class me.hsgamer.hscore.addon.AddonManager
Create a new addon manager
addons - Variable in class me.hsgamer.hscore.addon.AddonManager
The addon map keyed addon's id, valued addon itself

C

callPostEnable() - Method in class me.hsgamer.hscore.addon.AddonManager
Call the Addon.onPostEnable() method of all enabled addons
callReload() - Method in class me.hsgamer.hscore.addon.AddonManager
Call the Addon.onReload() method of all enabled addons

D

disableAddon(String, boolean) - Method in class me.hsgamer.hscore.addon.AddonManager
Disable (call Addon.onDisable()) the addon
disableAddons() - Method in class me.hsgamer.hscore.addon.AddonManager
Disable all enabled addons

E

enableAddon(String, boolean) - Method in class me.hsgamer.hscore.addon.AddonManager
Enable (call Addon.onEnable()) the addon
enableAddons() - Method in class me.hsgamer.hscore.addon.AddonManager
Enable all addons from the addon directory

F

findClass(String) - Method in class me.hsgamer.hscore.addon.object.AddonClassLoader
 
findClass(String, boolean) - Method in class me.hsgamer.hscore.addon.object.AddonClassLoader
Get class by the name
findClass(Addon, String) - Method in class me.hsgamer.hscore.addon.AddonManager
Find a class for an addon

G

getAddon() - Method in class me.hsgamer.hscore.addon.object.AddonClassLoader
Get the addon
getAddon(String) - Method in class me.hsgamer.hscore.addon.AddonManager
Get the enabled addon
getAddonDescription() - Method in class me.hsgamer.hscore.addon.object.AddonClassLoader
Get the addon's description
getAddonDescriptionLoader() - Method in class me.hsgamer.hscore.addon.AddonManager
Get the addon description loader
getAddonManager() - Method in class me.hsgamer.hscore.addon.object.Addon
Get the addon manager
getAddonManager() - Method in class me.hsgamer.hscore.addon.object.AddonClassLoader
Get the addon manager
getAddonsDir() - Method in class me.hsgamer.hscore.addon.AddonManager
Get the addon directory
getClassLoader() - Method in class me.hsgamer.hscore.addon.object.Addon
Get the class loader
getData() - Method in class me.hsgamer.hscore.addon.object.AddonDescription
Get the data of the addon
getDataFolder() - Method in class me.hsgamer.hscore.addon.object.Addon
Get the addon's folder
getDescription() - Method in class me.hsgamer.hscore.addon.object.Addon
Get the addon's description
getFile() - Method in class me.hsgamer.hscore.addon.object.AddonClassLoader
Get the addon jar
getLoadedAddons() - Method in class me.hsgamer.hscore.addon.AddonManager
Get all loaded addons
getLogger() - Method in class me.hsgamer.hscore.addon.AddonManager
Get the logger
getMainClass() - Method in class me.hsgamer.hscore.addon.object.AddonDescription
Get the main class of the addon
getName() - Method in class me.hsgamer.hscore.addon.object.AddonDescription
Get the name of the addon
getResource(String) - Method in class me.hsgamer.hscore.addon.object.Addon
Get the resource from the addon's jar
getVersion() - Method in class me.hsgamer.hscore.addon.object.AddonDescription
Get the version of the addon

I

InputStreamAddonDescriptionLoader - Class in me.hsgamer.hscore.addon.loader
The simplified AddonDescriptionLoader that loads the AddonDescription from the InputStream of the jar file
InputStreamAddonDescriptionLoader(String) - Constructor for class me.hsgamer.hscore.addon.loader.InputStreamAddonDescriptionLoader
InvalidAddonDescription - Exception in me.hsgamer.hscore.addon.exception
The exception that is thrown when the addon description is invalid
InvalidAddonDescription(String) - Constructor for exception me.hsgamer.hscore.addon.exception.InvalidAddonDescription
 
InvalidAddonDescription(String, Throwable) - Constructor for exception me.hsgamer.hscore.addon.exception.InvalidAddonDescription
 
isAddonLoaded(String) - Method in class me.hsgamer.hscore.addon.AddonManager
Check if the addon is loaded

L

load(JarFile) - Method in interface me.hsgamer.hscore.addon.loader.AddonDescriptionLoader
Load AddonDescription from jar file
load(JarFile) - Method in class me.hsgamer.hscore.addon.loader.ManifestAddonDescriptionLoader
 
load(JarFile) - Method in interface me.hsgamer.hscore.addon.loader.MapAddonDescriptionLoader
 
loadAddons() - Method in class me.hsgamer.hscore.addon.AddonManager
Load all addons from the addon directory.
loadAsMap(InputStream) - Method in class me.hsgamer.hscore.addon.loader.InputStreamAddonDescriptionLoader
Load the information map from the input stream
loadAsMap(InputStream) - Method in class me.hsgamer.hscore.addon.loader.PropertiesAddonDescriptionLoader
 
loadAsMap(JarFile) - Method in class me.hsgamer.hscore.addon.loader.InputStreamAddonDescriptionLoader
 
loadAsMap(JarFile) - Method in interface me.hsgamer.hscore.addon.loader.MapAddonDescriptionLoader
Load the information map from the jar file

M

ManifestAddonDescriptionLoader - Class in me.hsgamer.hscore.addon.loader
The AddonDescriptionLoader that loads the AddonDescription from the manifest of the jar file
ManifestAddonDescriptionLoader() - Constructor for class me.hsgamer.hscore.addon.loader.ManifestAddonDescriptionLoader
 
MapAddonDescriptionLoader - Interface in me.hsgamer.hscore.addon.loader
The simplified AddonDescriptionLoader that loads the AddonDescription from the information map of the jar file.
me.hsgamer.hscore.addon - package me.hsgamer.hscore.addon
Contains addon module's main classes
me.hsgamer.hscore.addon.exception - package me.hsgamer.hscore.addon.exception
Contains the exceptions for the addon manager
me.hsgamer.hscore.addon.loader - package me.hsgamer.hscore.addon.loader
Contains some loaders for the addon manager
me.hsgamer.hscore.addon.object - package me.hsgamer.hscore.addon.object
Contains addon module's object classes

O

onAddonDisable(Addon) - Method in class me.hsgamer.hscore.addon.AddonManager
Called when the addon is on disabling
onAddonDisabled(Addon) - Method in class me.hsgamer.hscore.addon.AddonManager
Called when the addon is disabled
onAddonEnable(Addon) - Method in class me.hsgamer.hscore.addon.AddonManager
Called when the addon is on enable
onAddonEnabled(Addon) - Method in class me.hsgamer.hscore.addon.AddonManager
Called when the addon is enabled
onAddonLoading(Addon) - Method in class me.hsgamer.hscore.addon.AddonManager
Called when the addon is on loading
onAddonLoading(Addon) - Method in class me.hsgamer.hscore.addon.SimpleAddonManager
 
onDisable() - Method in class me.hsgamer.hscore.addon.object.Addon
Called when disabling the addon
onEnable() - Method in class me.hsgamer.hscore.addon.object.Addon
Called when enabling the addon
onLoad() - Method in class me.hsgamer.hscore.addon.object.Addon
Called when loading the addon
onPostEnable() - Method in class me.hsgamer.hscore.addon.object.Addon
Called after all addons enabled
onReload() - Method in class me.hsgamer.hscore.addon.object.Addon
Called when reloading

P

PropertiesAddonDescriptionLoader - Class in me.hsgamer.hscore.addon.loader
The AddonDescriptionLoader that loads the AddonDescription from the Properties file of the jar file
PropertiesAddonDescriptionLoader() - Constructor for class me.hsgamer.hscore.addon.loader.PropertiesAddonDescriptionLoader
PropertiesAddonDescriptionLoader(String) - Constructor for class me.hsgamer.hscore.addon.loader.PropertiesAddonDescriptionLoader

S

saveResource(String, boolean) - Method in class me.hsgamer.hscore.addon.object.Addon
Copy the resource from the addon's jar
SimpleAddonManager - Class in me.hsgamer.hscore.addon
A simple implementation for the addon manager
SimpleAddonManager(File, Logger, AddonDescriptionLoader, Predicate<Addon>) - Constructor for class me.hsgamer.hscore.addon.SimpleAddonManager
Create a simple addon manager
SimpleAddonManager(File, Logger, AddonDescriptionLoader, UnaryOperator<Map<String, Addon>>) - Constructor for class me.hsgamer.hscore.addon.SimpleAddonManager
Create a simple addon manager
SimpleAddonManager(File, Logger, AddonDescriptionLoader, UnaryOperator<Map<String, Addon>>, Predicate<Addon>) - Constructor for class me.hsgamer.hscore.addon.SimpleAddonManager
Create a simple addon manager
sortAndFilter(Map<String, Addon>) - Method in class me.hsgamer.hscore.addon.AddonManager
Filter and sort the order of the addons
sortAndFilter(Map<String, Addon>) - Method in class me.hsgamer.hscore.addon.SimpleAddonManager
 
A C D E F G I L M O P S 
All Classes and Interfaces|All Packages|Serialized Form