Examples of validate()


Examples of com.betfair.cougar.codegen.IDLReader.validate()

            }
        log.debug(reader.serialize());
        }
        
    for (Validator v: transform.getPreValidations()) {
      reader.validate(v);
    }
    log.debug(reader.serialize());
    reader.runMerge(transform.getTransformations());
   
    reader.writeResult();
View Full Code Here

Examples of com.blazebit.annotation.constraint.ConstraintValidator.validate()

            constraintValidatorClass, constraintValidatorMap);

        if (validator != null) {
          for (Element e : roundEnv
              .getElementsAnnotatedWith(annotationType)) {
            validator.validate(processingEnv, roundEnv,
                annotationType, annotationMirror, e);
          }
        }
      }
View Full Code Here

Examples of com.blazebit.annotation.constraint.ValueConstraintValidator.validate()

                  .getAnnotationElementValue(
                      processingEnv,
                      elementAnnotationMirror,
                      annotationMember.getSimpleName()
                          .toString()).getValue();
              validator.validate(processingEnv, roundEnv,
                  annotationType, annotationMirror,
                  annotationMember, e, actualValue);
            }
          }
        }
View Full Code Here

Examples of com.blazebit.apt.validation.constraint.ConstraintValidator.validate()

            constraintValidatorClass, constraintValidatorMap);

        if (validator != null) {
          for (Element e : roundEnv
              .getElementsAnnotatedWith(annotationType)) {
            validator.validate(processingEnv, roundEnv,
                annotationType, annotationMirror, e);
          }
        }
      }
View Full Code Here

Examples of com.blazebit.apt.validation.constraint.ValueConstraintValidator.validate()

                  .getAnnotationElementValue(
                      processingEnv,
                      elementAnnotationMirror,
                      annotationMember.getSimpleName()
                          .toString()).getValue();
              validator.validate(processingEnv, roundEnv,
                  annotationType, annotationMirror,
                  annotationMember, e, actualValue);
            }
          }
        }
View Full Code Here

Examples of com.caucho.config.types.Validator.validate()

      if (! _isCompileContext) {
        for (int i = 0; i < _resourceValidators.size(); i++) {
          Validator validator = _resourceValidators.get(i);

          validator.validate();
        }
      }
    } finally {
      _lifecycle.toInit();
    }
View Full Code Here

Examples of com.clarkparsia.pellint.rdfxml.OWLSyntaxChecker.validate()

    }
    OWLSyntaxChecker checker = new OWLSyntaxChecker();
   
    checker.setExcludeValidPunnings(options.getOption("exclude-valid-punning").getValueAsBoolean());
   
    RDFLints lints = checker.validate( rootModel );

    output( lints.toString() );

    if( m_OutputOntologyPath != null && !m_DoOWL ) {
      List<Statement> missingStmts = lints.getMissingStatements();
View Full Code Here

Examples of com.cloud.hypervisor.vmware.util.VmwareContext.validate()

    @Override
    public VmwareContext getServiceContext(Command cmd) {
        VmwareContext context = null;
        if(s_serviceContext.get() != null) {
            context = s_serviceContext.get();
            if (context.validate()) {
                if (s_logger.isTraceEnabled()) {
                    s_logger.trace("ThreadLocal context is still valid, just reuse");
                }
                return context;
            } else {
View Full Code Here

Examples of com.cloudera.lib.service.ACL.validate()

                                                                   ACLService.class.getName()), ","));
    Server server = new Server("server", dir, dir, dir, dir, conf);
    server.init();
    ACL acl = server.get(ACL.class);
    String user = System.getProperty("user.name");
    acl.validate(user, user, null);
    acl.validate(user, user, user);

    server.destroy();
  }
View Full Code Here

Examples of com.cloudera.lib.service.ProxyUser.validate()

   */
  private String getEffectiveUser(Principal user, String doAs) throws IOException {
    String effectiveUser = user.getName();
    if (doAs != null && !doAs.equals(user.getName())) {
      ProxyUser proxyUser = HoopServer.get().get(ProxyUser.class);
      proxyUser.validate(user.getName(), HostnameFilter.get(), doAs);
      effectiveUser = doAs;
      AUDIT_LOG.info("Proxy user [{}] DoAs user [{}]", user.getName(), doAs);
    }
    return effectiveUser;
  }
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.