de.smartics.ci.config.load
Class HudsonJobConfig

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

public final class HudsonJobConfig
     
     
extends Object

Provides information about a Hudson job configuration file ( config.xml.


Constructor Summary
HudsonJobConfig(String id, String configXml)
          Default constructor.
 
Method Summary
 String getConfigXml()
          Returns the Hudson job configuration file as an XML string.
 String getId()
          Returns the identifier of the job configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HudsonJobConfig

public HudsonJobConfig(String id,
                       String configXml)
                throws de.smartics.util.lang.BlankArgumentException
Default constructor.

Parameters:
id - the identifier of the job configuration.
configXml - the Hudson job configuration file as an XML string.
Throws:
de.smartics.util.lang.BlankArgumentException - if either id or configXml is blank.
Method Detail

getId

public String getId()
Returns the identifier of the job configuration.

Returns:
the identifier of the job configuration.

getConfigXml

public String getConfigXml()
Returns the Hudson job configuration file as an XML string.

Returns:
the Hudson job configuration file as an XML string.


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