src/main/java/net/wasdev/wlp/common/plugins/util/InstallFeatureUtil.java
private void productInfoValidate() throws PluginExecutionException {
        String output = productInfo(installDirectory, "validate");
        if (output == null) {
            throw new PluginExecutionException(
                    "Could not perform product validation. The productInfo command returned with no output");
        } else if (output.contains("[ERROR]")) {
            throw new PluginExecutionException(output);
        } else {
            info("Product validation completed successfully.");
        }
    }
private void productInfoValidate() throws PluginExecutionException {
        String output = productInfo(installDirectory, "validate");
        if (output == null) {
            throw new PluginExecutionException(
                    "Could not perform product validation. The productInfo command returned with no output");
        } else if (output.contains("[ERROR]")) {
            throw new PluginExecutionException(output);
        } else {
            info("Product validation completed successfully.");
        }
    }
private void productInfoValidate ( ) throws PluginExecutionException { String output = productInfo ( installDirectory , "validate" ) ; if ( output == null ) { throw new PluginExecutionException ( "Could not perform product validation. The productInfo command returned with no output" ) ; } else if ( output . contains ( "[ERROR]" ) ) { throw new PluginExecutionException ( output ) ; } else { info ( "Product validation completed successfully." ) ; } }
Performs product validation by running bin/productInfo validate

@throws PluginExecutionException
if product validation failed or could not be run
Performs product validation by running bin / productInfo validate