Package org.apache.solr.core
Class PluginBag.RuntimeLib
- java.lang.Object
-
- org.apache.solr.core.PluginBag.RuntimeLib
-
- All Implemented Interfaces:
AutoCloseable,PluginInfoInitialized
public static class PluginBag.RuntimeLib extends Object implements PluginInfoInitialized, AutoCloseable
This represents a Runtime Jar. A jar requires two details , name and version
-
-
Constructor Summary
Constructors Constructor Description RuntimeLib(SolrCore core)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()ByteBuffergetFileContent(String entryName)ByteBuffergetFileContent(BlobRepository.BlobContent<ByteBuffer> blobContent, String entryName)static List<PluginBag.RuntimeLib>getLibObjects(SolrCore core, List<PluginInfo> libs)StringgetName()StringgetSig()StringgetUrl()StringgetVersion()voidinit(PluginInfo info)static booleanisEnabled()voidverify()
-
-
-
Constructor Detail
-
RuntimeLib
public RuntimeLib(SolrCore core)
-
-
Method Detail
-
init
public void init(PluginInfo info)
- Specified by:
initin interfacePluginInfoInitialized
-
getUrl
public String getUrl()
-
isEnabled
public static boolean isEnabled()
-
getName
public String getName()
-
getVersion
public String getVersion()
-
getSig
public String getSig()
-
getFileContent
public ByteBuffer getFileContent(String entryName) throws IOException
- Throws:
IOException
-
getFileContent
public ByteBuffer getFileContent(BlobRepository.BlobContent<ByteBuffer> blobContent, String entryName) throws IOException
- Throws:
IOException
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
getLibObjects
public static List<PluginBag.RuntimeLib> getLibObjects(SolrCore core, List<PluginInfo> libs)
-
-