Uses of Class
me.hsgamer.hscore.expansion.common.ExpansionClassLoader
Package
Description
Contains the base classes to work on an expansion system
Contains the exceptions for the expansion manager
Contains the extra classes to work with
Expansion
Contains the extra classes to work with
ExpansionManager
-
Uses of ExpansionClassLoader in me.hsgamer.hscore.expansion.common
Modifier and TypeFieldDescriptionprotected final Map<String,
ExpansionClassLoader> ExpansionManager.classLoaders
The class loader map keyed expansion's id, valued expansion's class loaderstatic final Function<ExpansionClassLoader,
Expansion> ExpansionManager.DEFAULT_EXPANSION_FACTORY
The default factory to create a new instance of the main class using the no-args constructorModifier and TypeMethodDescriptionExpansionManager.getClassLoaders()
Get all loaded expansion class loadersExpansionManager.getExpansionClassLoader
(@NotNull String name) Get the loaded expansion class loaderModifier and TypeMethodDescriptionvoid
ExpansionManager.addStateListener
(@NotNull BiConsumer<ExpansionClassLoader, ExpansionState> listener) Add a new state listenervoid
ExpansionManager.removeStateListener
(@NotNull BiConsumer<ExpansionClassLoader, ExpansionState> listener) Remove a state listenervoid
ExpansionManager.setExpansionFactory
(@NotNull Function<ExpansionClassLoader, Expansion> expansionFactory) Set the factory to createExpansion
fromExpansionClassLoader
void
ExpansionManager.setSortAndFilterFunction
(@NotNull UnaryOperator<Map<String, ExpansionClassLoader>> sortAndFilterFunction) Set the function to sort and filter theExpansionClassLoader
s -
Uses of ExpansionClassLoader in me.hsgamer.hscore.expansion.common.exception
Modifier and TypeMethodDescriptionExpansionClassLoaderException.getExpansionClassLoader()
Get theExpansionClassLoader
ModifierConstructorDescriptionExpansionClassLoaderException
(ExpansionClassLoader expansionClassLoader, String message, Throwable cause) -
Uses of ExpansionClassLoader in me.hsgamer.hscore.expansion.extra.expansion
Modifier and TypeMethodDescriptiondefault ExpansionClassLoader
GetClassLoader.getExpansionClassLoader()
Get the class loader of the expansion -
Uses of ExpansionClassLoader in me.hsgamer.hscore.expansion.extra.manager
Modifier and TypeMethodDescriptiondefault Map<String,
ExpansionClassLoader> DependableExpansionSortAndFilter.apply
(Map<String, ExpansionClassLoader> original) default Comparator<Map.Entry<String,
ExpansionClassLoader>> DependableExpansionSortAndFilter.getDependencyComparator()
Get the comparator for the dependenciesModifier and TypeMethodDescriptionDependableExpansionSortAndFilter.getDependencies
(ExpansionClassLoader loader) Get the dependencies of the expansionDependableExpansionSortAndFilter.getSoftDependencies
(ExpansionClassLoader loader) Get the soft dependencies of the expansion.Modifier and TypeMethodDescriptiondefault Map<String,
ExpansionClassLoader> DependableExpansionSortAndFilter.apply
(Map<String, ExpansionClassLoader> original)