de.smartics.testdoc.core.adapter
Class MultiUnitTestDocLoader

Package class diagram package MultiUnitTestDocLoader
java.lang.Object
  extended by de.smartics.testdoc.core.adapter.MultiUnitTestDocLoader
All Implemented Interfaces:
IndexProvider.UnitTestDocLoader

@NotThreadSafe
public class MultiUnitTestDocLoader
     
     
extends Object
implements IndexProvider.UnitTestDocLoader

Loads instances of UnitTestDoc from multiple loaders.

Author:
Robert Reiner

Constructor Summary
MultiUnitTestDocLoader()
          Default constructor.
 
Method Summary
 void addLoader(IndexProvider.UnitTestDocLoader loader)
          Adds the loader to the multi loader.
 List<UnitTestDoc> load()
          Loads instances of unit test documentation from a backend.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiUnitTestDocLoader

public MultiUnitTestDocLoader()
Default constructor.

Method Detail

addLoader

public void addLoader(IndexProvider.UnitTestDocLoader loader)
               throws org.apache.commons.lang.NullArgumentException
Adds the loader to the multi loader.

Parameters:
loader - the loader to add.
Throws:
org.apache.commons.lang.NullArgumentException - if loader is null.

load

public List<UnitTestDoc> load()
                       throws ImportException
Loads instances of unit test documentation from a backend.

Specified by:
load in interface IndexProvider.UnitTestDocLoader
Returns:
the list of read instances.
Throws:
ImportException - on any problem loading the unit test documentation.
See Also:
IndexProvider.UnitTestDocLoader.load()


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