public class PluginManifestParser extends Object
PluginManifestParser
parser just parse the manifest file
in all plugin directories.Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
PluginManifestParser(org.apache.hadoop.conf.Configuration conf,
PluginRepository pluginRepository) |
Modifier and Type | Method and Description |
---|---|
File |
getPluginFolder(String name)
Return the named plugin folder.
|
Map<String,PluginDescriptor> |
parsePluginFolder(String[] pluginFolders)
Returns a list of all found plugin descriptors.
|
public PluginManifestParser(org.apache.hadoop.conf.Configuration conf, PluginRepository pluginRepository)
public Map<String,PluginDescriptor> parsePluginFolder(String[] pluginFolders)
pluginFolders
- folders to search plugins fromMap
of all found PluginDescriptor
s.Copyright © 2014 The Apache Software Foundation