Examples of OptionsValidator


Examples of org.nbphpcouncil.modules.php.laravel4.validation.OptionsValidator

        return null;
    }

    public String getWarningMessage() {
        ValidationResult validationResult = new OptionsValidator()
                .validate(Laravel4Options.getInstance().getSkeleton())
                .getResult();

        if (validationResult.hasWarnings()) {
            return validationResult.getWarnings().get(0).getMessage();
View Full Code Here

Examples of org.nbphpcouncil.modules.php.laravel4.validation.OptionsValidator

    public boolean isValid() {
        // clean up
        panel.setError(" "); // NOI18N

        // validate
        ValidationResult validationResult = new OptionsValidator()
                .validate(panel.getSkeleton())
                .getResult();
        String warning = null;
        // get first message
        if (validationResult.hasErrors()) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.