mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
Add method to get all plugins (helpful if you want to reset them)
This commit is contained in:
@ -1506,6 +1506,17 @@ public class QInstanceEnricher
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Getter for enricherPlugins
|
||||||
|
**
|
||||||
|
*******************************************************************************/
|
||||||
|
public static ListingHash<Class<?>, QInstanceEnricherPluginInterface<?>> getEnricherPlugins()
|
||||||
|
{
|
||||||
|
return enricherPlugins;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
** scan the classpath for classes in the specified package name which
|
** scan the classpath for classes in the specified package name which
|
||||||
** implement the QInstanceEnricherPluginInterface - any found get added
|
** implement the QInstanceEnricherPluginInterface - any found get added
|
||||||
|
@ -304,6 +304,17 @@ public class QInstanceValidator
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Getter for validatorPlugins
|
||||||
|
**
|
||||||
|
*******************************************************************************/
|
||||||
|
public static ListingHash<Class<?>, QInstanceValidatorPluginInterface<?>> getValidatorPlugins()
|
||||||
|
{
|
||||||
|
return validatorPlugins;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
**
|
**
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
Reference in New Issue
Block a user