Class ModelNodeUtil

java.lang.Object
org.wildfly.test.security.common.ModelNodeUtil

public class ModelNodeUtil extends Object
Helper methods for ModelNode class.
Author:
Josef Cacek
  • Constructor Details

    • ModelNodeUtil

      public ModelNodeUtil()
  • Method Details

    • setIfNotNull

      public static void setIfNotNull(org.jboss.dmr.ModelNode node, String attribute, String value)
      Set attribute of given node if the value is not-null.
    • setIfNotNull

      public static void setIfNotNull(org.jboss.dmr.ModelNode node, String attribute, Boolean value)
      Set attribute of given node if the value is not-null.
    • setIfNotNull

      public static void setIfNotNull(org.jboss.dmr.ModelNode node, String attribute, Integer value)
      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.