[
http://jira.magnolia-cms.com/browse/MAGNOLIA-3276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=30106#action_30106
]
Hudson CI server commented on MAGNOLIA-3276:
--------------------------------------------
Integrated in !http://hudson.magnolia-cms.com/images/16x16/blue.gif!
[magnolia_main-4.4-branch
#3|http://hudson.magnolia-cms.com/job/magnolia_main-4.4-branch/3/]
> Add noop to nodebuilder
> -----------------------
>
> Key: MAGNOLIA-3276
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3276
> Project: Magnolia
> Issue Type: New Feature
> Components: core
> Reporter: Grégory Joseph
> Assignee: Grégory Joseph
> Fix For: 4.4.x, 5.0
>
>
> When using the node builder api, we sometimes want to use ternary operations,
> where a noop() would be useful.
> Example:
> {code}
> new ModuleNodeBuilderTask("test paragraph", "", ErrorHandling.strict,
> getNode("paragraphs").then(
> addNode(name, "mgnl:contentNode").then(
> addProperty("templatePath", templatePath),
> addProperty("type", type),
> modelClass != null ?
> addProperty("modelClass", modelClass.getName()) : noop()
> )
> )
> )
> {code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------