|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.ci.config.load.HudsonJobConfigurationLoaderConfig.Builder
public static final class HudsonJobConfigurationLoaderConfig.Builder
Builder to help adding properties to the configuration instance.
Constructor Summary | |
---|---|
HudsonJobConfigurationLoaderConfig.Builder() |
Method Summary | |
---|---|
HudsonJobConfigurationLoaderConfig |
build() Creates the instance configured by this builder. |
HudsonJobConfigurationLoaderConfig.Builder |
withAddScmElementWithFullContent(boolean addScmElementWithFullContent) Sets the flag to control whether the scm element is to be added to the generated Job config. |
HudsonJobConfigurationLoaderConfig.Builder |
withRemoveCascadingChildrenNamesElement(boolean removeCascadingChildrenNamesElement) Sets the flag to control the removal of the cascadingChildrenNames element from the job configuration. |
HudsonJobConfigurationLoaderConfig.Builder |
withRemoveCascadingJobPropertiesElement(boolean removeCascadingJobPropertiesElement) Sets 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 |
Constructor Detail |
---|
public HudsonJobConfigurationLoaderConfig.Builder()
Method Detail |
---|
public HudsonJobConfigurationLoaderConfig.Builder withAddScmElementWithFullContent(boolean addScmElementWithFullContent)
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.
addScmElementWithFullContent
- the flag to control whether the
scm
element is to be added to the generated Job
config
.
public HudsonJobConfigurationLoaderConfig.Builder withRemoveCascadingChildrenNamesElement(boolean removeCascadingChildrenNamesElement)
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.
removeCascadingChildrenNamesElement
- the flag to control the removal of the
cascadingChildrenNames
element from the job configuration.
public HudsonJobConfigurationLoaderConfig.Builder withRemoveCascadingJobPropertiesElement(boolean removeCascadingJobPropertiesElement)
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.
removeCascadingJobPropertiesElement
- the flag to control the removal of the
cascading-job-properties
element from the job configuration.
public HudsonJobConfigurationLoaderConfig build()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |