de.smartics.ci.config.load
Class HudsonJobConfigurationLoaderConfig

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

public final class HudsonJobConfigurationLoaderConfig
     
     
extends Object

Controls the loading and creation of Hudson job configuration files.


Nested Class Summary
static class HudsonJobConfigurationLoaderConfig.Builder
          Builder to help adding properties to the configuration instance.
 
Method Summary
 boolean isAddScmElementWithFullContent()
          Returns the flag to control whether the scm element is to be added to the generated Job config.
 boolean isRemoveCascadingChildrenNamesElement()
          Returns the flag to control the removal of the cascadingChildrenNames element from the job configuration.
 boolean isRemoveCascadingJobPropertiesElement()
          Returns the flag to control the removal of the cascading-job-properties element from the job configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isAddScmElementWithFullContent

public boolean isAddScmElementWithFullContent()
Returns the flag to control whether the scm element is to be added to the generated Job config. xml with full content. The scm is an element in addition to the SCM configuration as an entry in the same document.

In some documents the element is expected to be stated redundantly. Some configurations allow to reference the SCM information of an entry element with an XPath expression. Adding an element with that expression is not controllable with this flag.

Returns:
the flag to control whether the scm element is to be added to the generated Job config.

isRemoveCascadingChildrenNamesElement

public boolean isRemoveCascadingChildrenNamesElement()
Returns the flag to control the removal of the cascadingChildrenNames element from the job configuration.

The element is added by Hudson if the config.xml is retrieved. The presence of the element rejects the configuration from being pushed on the server.

Returns:
the flag to control the removal of the cascadingChildrenNames element from the job configuration.

isRemoveCascadingJobPropertiesElement

public boolean isRemoveCascadingJobPropertiesElement()
Returns the flag to control the removal of the cascading-job-properties element from the job configuration.

The element is added by Hudson if the config.xml is retrieved. The presence of the element rejects the configuration from being pushed on the server.

Returns:
the flag to control the removal of the cascading-job-properties element from the job configuration.


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