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 void
close()
ByteBuffer
getFileContent(String entryName)
ByteBuffer
getFileContent(BlobRepository.BlobContent<ByteBuffer> blobContent, 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()
-
-
-
Constructor Detail
-
RuntimeLib
public RuntimeLib(SolrCore core)
-
-
Method Detail
-
init
public void init(PluginInfo info)
- Specified by:
init
in 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() throws Exception
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
getLibObjects
public static List<PluginBag.RuntimeLib> getLibObjects(SolrCore core, List<PluginInfo> libs)
-
-