public class MockPluginLocator extends java.lang.Object implements PluginLocator
| Modifier and Type | Field and Description |
|---|---|
java.util.List<AssetPlugin> |
assetPlugins |
java.util.List<ContentPlugin> |
contentPlugins |
java.util.List<MinifierPlugin> |
minifiers |
java.util.List<ModelObserverPlugin> |
modelObservers |
java.util.List<CommandPlugin> |
pluginCommands |
java.util.List<RequirePlugin> |
requirePlugins |
java.util.List<TagHandlerPlugin> |
tagHandlers |
| Constructor and Description |
|---|
MockPluginLocator() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AssetPlugin> |
assetPlugins()
The method retrieves all
AssetPlugins for the BRJS object inputed through the createPlugins function. |
void |
createPlugins(BRJS brjs)
The method creates all available plugins, no matter the type, for the specified
BRJS object. |
java.util.List<CommandPlugin> |
getCommandPlugins()
The method retrieves all
CommandPlugins for the BRJS object inputed through the createPlugins function. |
java.util.List<ContentPlugin> |
getContentPlugins()
The method retrieves all
ContentPlugins for the BRJS object inputed through the createPlugins function. |
java.util.List<MinifierPlugin> |
getMinifierPlugins()
The method retrieves all
MinifierPlugins for the BRJS object inputed through the createPlugins function. |
java.util.List<ModelObserverPlugin> |
getModelObserverPlugins()
The method retrieves all
ModelObserverPlugins for the BRJS object inputed through the createPlugins function. |
java.util.List<RequirePlugin> |
getRequirePlugins()
The method retrieves all
RequirePlugins for the BRJS object inputed through the createPlugins function. |
java.util.List<TagHandlerPlugin> |
getTagHandlerPlugins()
The method retrieves all
TagHandlerPlugins for the BRJS object inputed through the createPlugins function. |
static java.util.List<? extends Plugin> |
setBRJSForPlugins(BRJS brjs,
java.util.List<? extends Plugin> plugins) |
public java.util.List<CommandPlugin> pluginCommands
public java.util.List<ModelObserverPlugin> modelObservers
public java.util.List<MinifierPlugin> minifiers
public java.util.List<ContentPlugin> contentPlugins
public java.util.List<TagHandlerPlugin> tagHandlers
public java.util.List<AssetPlugin> assetPlugins
public java.util.List<RequirePlugin> requirePlugins
public void createPlugins(BRJS brjs)
PluginLocatorBRJS object.createPlugins in interface PluginLocatorbrjs - a BRJS object for which all available plugins will be createdpublic java.util.List<CommandPlugin> getCommandPlugins()
PluginLocatorCommandPlugins for the BRJS object inputed through the createPlugins function.getCommandPlugins in interface PluginLocatorpublic java.util.List<ModelObserverPlugin> getModelObserverPlugins()
PluginLocatorModelObserverPlugins for the BRJS object inputed through the createPlugins function.getModelObserverPlugins in interface PluginLocatorpublic java.util.List<MinifierPlugin> getMinifierPlugins()
PluginLocatorMinifierPlugins for the BRJS object inputed through the createPlugins function.getMinifierPlugins in interface PluginLocatorpublic java.util.List<ContentPlugin> getContentPlugins()
PluginLocatorContentPlugins for the BRJS object inputed through the createPlugins function.getContentPlugins in interface PluginLocatorpublic java.util.List<TagHandlerPlugin> getTagHandlerPlugins()
PluginLocatorTagHandlerPlugins for the BRJS object inputed through the createPlugins function.getTagHandlerPlugins in interface PluginLocatorpublic java.util.List<AssetPlugin> assetPlugins()
PluginLocatorAssetPlugins for the BRJS object inputed through the createPlugins function.assetPlugins in interface PluginLocatorpublic java.util.List<RequirePlugin> getRequirePlugins()
PluginLocatorRequirePlugins for the BRJS object inputed through the createPlugins function.getRequirePlugins in interface PluginLocator