|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.ci.config.load.HudsonJobConfigLoader
public final class HudsonJobConfigLoader
Loader of XML job configurations.
Constructor Summary | |
---|---|
HudsonJobConfigLoader(LocationManager locationManager, HudsonJobConfigurationLoaderConfig loaderConfig) Default constructor. |
Method Summary | |
---|---|
org.jdom.Document |
load(LoaderPlan plan) Loads the XML document from the given loader plan. |
HudsonJobConfig |
loadHudsonConfig(LoaderPlan plan) Loads the XML document from the given loader plan. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HudsonJobConfigLoader(LocationManager locationManager, HudsonJobConfigurationLoaderConfig loaderConfig) throws de.smartics.util.lang.NullArgumentException
locationManager
- the location manager to load resources.
loaderConfig
- the loader configuration to control the loading and creation of Hudson job configuration files.
de.smartics.util.lang.NullArgumentException
- if
locationManager
or
loaderConfig
is
null
.
Method Detail |
---|
public HudsonJobConfig loadHudsonConfig(LoaderPlan plan) throws de.smartics.util.lang.NullArgumentException, IllegalArgumentException, org.jdom.JDOMException
plan
- the plan to load a number of job config files in a given order. Later config files override values previously loaded.
de.smartics.util.lang.NullArgumentException
- if
plan
is
null
.
IllegalArgumentException
- if
plan
is empty.
org.jdom.JDOMException
- on any XML parsing or generation problem.
public org.jdom.Document load(LoaderPlan plan) throws de.smartics.util.lang.NullArgumentException, IllegalArgumentException, org.jdom.JDOMException
plan
- the plan to load a number of job config files in a given order. Later config files override values previously loaded.
de.smartics.util.lang.NullArgumentException
- if
plan
is
null
.
IllegalArgumentException
- if
plan
is empty.
org.jdom.JDOMException
- on any XML parsing or generation problem.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |