de.smartics.ci.config.hudson
Class HudsonConfigScmElement
java.lang.Object
de.smartics.ci.config.hudson.AbstractHudsonConfigHelper
de.smartics.ci.config.hudson.HudsonConfigScmElement
-
public final class HudsonConfigScmElement
-
extends
AbstractHudsonConfigHelper
Creates a Hudson configuration element for the scm information.
-
See Also:
-
HudsonConfigEntry.addScmConfig(ScmType, String)
Method Summary |
void |
addScmConfig(ScmType scmType, String scmUrl) Adds information for the given SCM provider as an element to the document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HudsonConfigScmElement
public HudsonConfigScmElement(org.jdom.Document hudsonConfig)
-
Constructor.
-
Parameters:
-
hudsonConfig
- the Hudson configuration XML file to add to.
-
See Also:
-
AbstractHudsonConfigHelper.AbstractHudsonConfigHelper(org.jdom.Document)
addScmConfig
public void addScmConfig(ScmType scmType,
String scmUrl)
throws org.jdom.JDOMException
-
Adds information for the given SCM provider as an element to the document.
-
-
Parameters:
-
scmType
- the type of the SCM provider to add.
-
scmUrl
- the connection URL to the SCM server.
-
Throws:
-
org.jdom.JDOMException
- on any problem accessing the Hudson configuration XML document.
Copyright © 2012
Kronseder & Reiner GmbH - smartics. All Rights Reserved.