T-Plan Robot Enterprise 5.0.1
Build No. 5.0.1-20190308.1

com.tplan.robot.scripting.report
Class ReportProviderFactory

java.lang.Object
  extended by com.tplan.robot.plugin.PluginFactory
      extended by com.tplan.robot.scripting.report.ReportProviderFactory

public class ReportProviderFactory
extends PluginFactory

Report provider factory allowing to deliver report provider implementations as plugins.


T-Plan Robot Enterprise, (C) 2009-2019 T-Plan Limited. All rights reserved.


Method Summary
 java.util.List<PluginInfo> getAvailableProviders()
          Get available report provider plugins.
static ReportProviderFactory getInstance()
          Get shared instance of this factory.
 ReportProvider getReportProvider(java.lang.String provider)
          Get a provider associated with the given code.
 
Methods inherited from class com.tplan.robot.plugin.PluginFactory
getAvailablePluginCodes, getAvailablePluginInfos, getPluginByCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ReportProviderFactory getInstance()
Get shared instance of this factory.

Returns:
shared factory instance.

getReportProvider

public ReportProvider getReportProvider(java.lang.String provider)
Get a provider associated with the given code.

Parameters:
provider - provider code returned by the ReportProvider.getCode() method. If the argument is null, the code defaults to "default" and returns the built-in HTML report provider.
Returns:
an instance of the requested report provider or null if there's no plugin associated with the code.

getAvailableProviders

public java.util.List<PluginInfo> getAvailableProviders()
Get available report provider plugins.

Returns:
list of installed and enabled report provider plugins.

T-Plan Robot Enterprise 5.0.1
Build No. 5.0.1-20190308.1