de.smartics.testdoc.core.adapter
Class SingletonInMemoryExportAdapter

Package class diagram package SingletonInMemoryExportAdapter
java.lang.Object
  extended by de.smartics.testdoc.core.export.AbstractExportAdapter
      extended by de.smartics.testdoc.core.adapter.AbstractInMemoryExportAdapter
          extended by de.smartics.testdoc.core.adapter.SingletonInMemoryExportAdapter
All Implemented Interfaces:
IndexProvider, ExportAdapter

public class SingletonInMemoryExportAdapter
     
     
extends AbstractInMemoryExportAdapter

Exports the documentation to an in-memory singleton.

Author:
Robert Reiner

Nested Class Summary
 
Nested classes/interfaces inherited from interface de.smartics.testdoc.core.adapter.IndexProvider
IndexProvider.UnitTestDocLoader
 
Constructor Summary
SingletonInMemoryExportAdapter()
          Default constructor.
 
Method Summary
 UnitTestDocIndex getIndex()
          Provides access to the singleton.
 
Methods inherited from class de.smartics.testdoc.core.adapter.AbstractInMemoryExportAdapter
clear, export, load
 
Methods inherited from class de.smartics.testdoc.core.export.AbstractExportAdapter
exportQuietly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingletonInMemoryExportAdapter

public SingletonInMemoryExportAdapter()
Default constructor.

Method Detail

getIndex

public UnitTestDocIndex getIndex()
Provides access to the singleton.

This is only for convenience in the case the client has access to the adapter. Otherwise use the following code to access the singleton.

Specified by:
getIndex in interface IndexProvider
Overrides:
getIndex in class AbstractInMemoryExportAdapter
Returns:
the in-memory singleton of the index that stores the unit test documentation.


Copyright © 2010-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.