src/main/java/org/jboss/loom/utils/as7/CliApiCommandBuilder.java
public void addPropertyIfSet(String property, String value) {
        if( value == null || value.isEmpty() )
            return;
        this.command.get(property).set(value);
    }
/**
     * adds new property to ModelNode and checks if its value isn't empty or null.
     *
     * @param property name of the property to set
     * @param value    value for setting
     */
adds new property to ModelNode and checks if its value isn't empty or null.
@param property name of the property to set
@param value    value for setting
adds new property to ModelNode and checks if its value isn ' t empty or null . @param property name of the property to set @param value value for setting
public void addPropertyIfSet(String property, String value) {
        if( value == null || value.isEmpty() )
            return;
        this.command.get(property).set(value);
    }
public void addPropertyIfSet ( String property , String value ) { if ( value == null || value . isEmpty ( ) ) return ; this . command . get ( property ) . set ( value ) ; }
adds new property to ModelNode and checks if its value isn't empty or null.
adds new property to ModelNode and checks if its value isn ' t empty or null .