org.apache.solr.core

## Class PluginBag.RuntimeLib

- java.lang.Object
- - org.apache.solr.core.PluginBag.RuntimeLib

- All Implemented Interfaces:
    AutoCloseable, PluginInfoInitialized
  Enclosing class:
    PluginBag<T>

      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 and Description
    `RuntimeLib(SolrCore core)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    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` | `getVersion()`
    `void` | `init(PluginInfo info)`
    `void` | `verify()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RuntimeLib

          public RuntimeLib(SolrCore core)

  - ### Method Detail

    - #### init

          public void init(PluginInfo info)

      Specified by:
        `init` in interface `PluginInfoInitialized`

    - #### 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 interface `AutoCloseable`
      Throws:
        `Exception`

    - #### getLibObjects

          public static List<PluginBag.RuntimeLib> getLibObjects(SolrCore core,
                                                                 List<PluginInfo> libs)

    - #### verify

          public void verify()
                      throws Exception

      Throws:
        `Exception`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.