Interface PluginInfos

All Superinterfaces:
Iterable<PluginInfo>
All Known Implementing Classes:
PluginInfosImpl

@Immutable public interface PluginInfos extends Iterable<PluginInfo>
Immutable collection of PluginInfo.
Since:
v5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of this PluginInfos (e.g.
    Returns a String describing this PluginInfos in human-readable form.
    int
    Returns the size of this PluginInfos.

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator
  • Method Details

    • name

      String name()
      Returns the name of this PluginInfos (e.g. "User Plugins", "System Plugins").
      Returns:
      a String containing the name of this PluginInfos
    • size

      int size()
      Returns the size of this PluginInfos.
      Returns:
      the number of PluginInfo instances in this instance
    • prettyPrint

      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