Package org.wildfly.test.security.common
Class ModelNodeUtil
java.lang.Object
org.wildfly.test.security.common.ModelNodeUtil
Helper methods for
ModelNode class.- Author:
- Josef Cacek
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetIfNotNull(org.jboss.dmr.ModelNode node, String attribute, Boolean value) Set attribute of given node if the value is not-null.static voidsetIfNotNull(org.jboss.dmr.ModelNode node, String attribute, Integer value) Set attribute of given node if the value is not-null.static voidsetIfNotNull(org.jboss.dmr.ModelNode node, String attribute, String value) Set attribute of given node if the value is not-null.static voidsetIfNotNull(org.jboss.dmr.ModelNode node, String attribute, String... listValue) Set list attribute of given node if the value is not-null.
-
Constructor Details
-
ModelNodeUtil
public ModelNodeUtil()
-
-
Method Details
-
setIfNotNull
Set attribute of given node if the value is not-null. -
setIfNotNull
Set attribute of given node if the value is not-null. -
setIfNotNull
Set attribute of given node if the value is not-null. -
setIfNotNull
public static void setIfNotNull(org.jboss.dmr.ModelNode node, String attribute, String... listValue) Set list attribute of given node if the value is not-null.
-