com.atlassian.jira.startup
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
 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.
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

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


Copyright © 2002-2013 Atlassian. All Rights Reserved.