@Immutable public interface

PluginInfos

implements Iterable<T>
com.atlassian.jira.startup.PluginInfos
Known Indirect Subclasses

Class Overview

Immutable collection of PluginInfo.

Summary

Public Methods
String name()
Returns the name of this PluginInfos (e.g.
String prettyPrint()
Returns a String describing this PluginInfos in human-readable form.
int size()
Returns the size of this PluginInfos.
[Expand]
Inherited Methods
From interface java.lang.Iterable

Public Methods

public String name ()

Returns the name of this PluginInfos (e.g. "User Plugins", "System Plugins").

Returns
  • a String containing the name of this PluginInfos

public String prettyPrint ()

Returns a String describing this PluginInfos in human-readable form. The text will include a header containing this PluginInfo's name, followed by a list of plugins. Sample output:

 ___ User Plugins ____________________________

     Number                                        : 1

     JIRA Charting Plugin                          : com.atlassian.jira.ext.charting
          Version                                       : 1.8
          Status                                        : enabled
          Vendor                                        : Atlassian
          Description                                   : JIRA Plugin for graphical charts and graphs.
 

Returns
  • a String

public int size ()

Returns the size of this PluginInfos.

Returns
  • the number of PluginInfo instances in this instance