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
AssetPlugin s 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
CommandPlugin s for the BRJS object inputed through the createPlugins function. |
java.util.List<ContentPlugin> |
getContentPlugins()
The method retrieves all
ContentPlugin s for the BRJS object inputed through the createPlugins function. |
java.util.List<MinifierPlugin> |
getMinifierPlugins()
The method retrieves all
MinifierPlugin s for the BRJS object inputed through the createPlugins function. |
java.util.List<ModelObserverPlugin> |
getModelObserverPlugins()
The method retrieves all
ModelObserverPlugin s for the BRJS object inputed through the createPlugins function. |
java.util.List<RequirePlugin> |
getRequirePlugins()
The method retrieves all
RequirePlugin s for the BRJS object inputed through the createPlugins function. |
java.util.List<TagHandlerPlugin> |
getTagHandlerPlugins()
The method retrieves all
TagHandlerPlugin s 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)
PluginLocator
BRJS
object.createPlugins
in interface PluginLocator
brjs
- a BRJS object for which all available plugins will be createdpublic java.util.List<CommandPlugin> getCommandPlugins()
PluginLocator
CommandPlugin
s for the BRJS
object inputed through the createPlugins function.getCommandPlugins
in interface PluginLocator
public java.util.List<ModelObserverPlugin> getModelObserverPlugins()
PluginLocator
ModelObserverPlugin
s for the BRJS
object inputed through the createPlugins function.getModelObserverPlugins
in interface PluginLocator
public java.util.List<MinifierPlugin> getMinifierPlugins()
PluginLocator
MinifierPlugin
s for the BRJS
object inputed through the createPlugins function.getMinifierPlugins
in interface PluginLocator
public java.util.List<ContentPlugin> getContentPlugins()
PluginLocator
ContentPlugin
s for the BRJS
object inputed through the createPlugins function.getContentPlugins
in interface PluginLocator
public java.util.List<TagHandlerPlugin> getTagHandlerPlugins()
PluginLocator
TagHandlerPlugin
s for the BRJS
object inputed through the createPlugins function.getTagHandlerPlugins
in interface PluginLocator
public java.util.List<AssetPlugin> assetPlugins()
PluginLocator
AssetPlugin
s for the BRJS
object inputed through the createPlugins function.assetPlugins
in interface PluginLocator
public java.util.List<RequirePlugin> getRequirePlugins()
PluginLocator
RequirePlugin
s for the BRJS
object inputed through the createPlugins function.getRequirePlugins
in interface PluginLocator