public static class PluginBag.RuntimeLib extends Object implements PluginInfoInitialized, AutoCloseable
Constructor and Description |
---|
RuntimeLib(SolrCore core) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ByteBuffer |
getFileContent(BlobRepository.BlobContent<ByteBuffer> blobContent,
String entryName) |
ByteBuffer |
getFileContent(String entryName) |
static List<PluginBag.RuntimeLib> |
getLibObjects(SolrCore core,
List<PluginInfo> libs) |
String |
getName() |
String |
getSig() |
String |
getUrl() |
String |
getVersion() |
void |
init(PluginInfo info) |
static boolean |
isEnabled() |
void |
verify() |
public RuntimeLib(SolrCore core)
public void init(PluginInfo info)
init
in interface PluginInfoInitialized
public String getUrl()
public static boolean isEnabled()
public String getName()
public String getVersion()
public String getSig()
public ByteBuffer getFileContent(String entryName) throws IOException
IOException
public ByteBuffer getFileContent(BlobRepository.BlobContent<ByteBuffer> blobContent, String entryName) throws IOException
IOException
public void close() throws Exception
close
in interface AutoCloseable
Exception
public static List<PluginBag.RuntimeLib> getLibObjects(SolrCore core, List<PluginInfo> libs)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.