Package com.xebialabs.xlrelease.osgi.api.plugins

# Class PluginInfo

java.lang.Object
com.xebialabs.xlrelease.osgi.api.plugins.PluginInfo

public final class PluginInfo extends Object
Plain, OSGi-exportable mirror of the plugin manager's own `PluginDto` JSON shape (see xl-platform's `PluginDtoJsonWriter.pluginsResult`) - `{plugin, versions, metadata, hasLogo, status}` - deliberately independent of `PluginDto` itself. That type is a Scala case class whose `PluginId`/`PluginMetadata` fields pull in several more xl-platform packages plus the Scala/Pekko types they in turn reference (see `OsgiRuntimeService.systemPackages`). Exporting that whole graph to OSGi bundles just to hand this data to MCP tools would be a large, unstable package surface; `PluginQueryApiImpl` (core/xlr-server) builds this mirror instead.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PluginInfo(PluginRef plugin, List<PluginVersionInfo> versions, PluginExtendedMetadata metadata, boolean hasLogo, String status)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `PluginExtendedMetadata`
  `getMetadata()`
  `PluginRef`
  `getPlugin()`
  `String`
  `getStatus()`
  `List<PluginVersionInfo>`
  `getVersions()`
  `boolean`
  `isHasLogo()`

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

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

- ## Constructor Details

  - ### PluginInfo

    public PluginInfo(PluginRef plugin, List<PluginVersionInfo> versions, PluginExtendedMetadata metadata, boolean hasLogo, String status)

- ## Method Details

  - ### getPlugin

    public PluginRef getPlugin()

  - ### getVersions

    public List<PluginVersionInfo> getVersions()

  - ### getMetadata

    public PluginExtendedMetadata getMetadata()

  - ### isHasLogo

    public boolean isHasLogo()

  - ### getStatus

    public String getStatus()