Package org.infinispan.schematic.SchemaLibrary

Examples of org.infinispan.schematic.SchemaLibrary.MismatchedTypeProblem


                otherProblems.recordSuccess();
            }
            switch (problem.getType()) {
                case ERROR:
                    if (problem instanceof MismatchedTypeProblem) {
                        MismatchedTypeProblem mismatch = (MismatchedTypeProblem)problem;
                        otherProblems.recordTypeMismatch(mismatch.getPath(),
                                                         mismatch.getReason(),
                                                         mismatch.getActualType(),
                                                         mismatch.getActualValue(),
                                                         mismatch.getExpectedType(),
                                                         mismatch.getConvertedValue());
                    } else {
                        otherProblems.recordError(problem.getPath(), problem.getReason(), problem.getCause());
                    }
                    break;
                case WARNING:
View Full Code Here

TOP

Related Classes of org.infinispan.schematic.SchemaLibrary.MismatchedTypeProblem

Copyright © 2018 www.massapicom. 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.