de.smartics.ci.config.load
Class LoaderPlanLoader

Package class diagram package LoaderPlanLoader
java.lang.Object
  extended by de.smartics.ci.config.load.LoaderPlanLoader

public final class LoaderPlanLoader
     
     
extends Object

Loads LoaderPlans from XML files.


Constructor Summary
LoaderPlanLoader(MavenConfig mavenConfig)
          Default constructor.
 
Method Summary
 List<LoaderPlan> load(InputSource inputSource)
          Loads loader plans read from the given stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoaderPlanLoader

public LoaderPlanLoader(MavenConfig mavenConfig)
Default constructor.

Parameters:
mavenConfig - the Maven configuration to add to every generated loader.
Method Detail

load

public List<LoaderPlan> load(InputSource inputSource)
                      throws de.smartics.util.lang.NullArgumentException
Loads loader plans read from the given stream.

Parameters:
inputSource - contains an ci-config XML document with loader information.
Returns:
the loader information from the stream. May be empty, if no loader information has been found, but is never null.
Throws:
de.smartics.util.lang.NullArgumentException - if inputSource is null.


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