Examples of type()


Examples of org.jclouds.samples.googleappengine.domain.ResourceResult.Builder.type()

      Location provider = in.getLocation();
      while (provider.getParent() != null)
         provider = provider.getParent();
      builder.provider(provider.getId());
      builder.location(in.getLocation().getId());
      builder.type(in.getType().toString().toLowerCase());
      builder.id(in.getProviderId());
      builder.name(in.getName());
      return builder.build();
   }
}
View Full Code Here

Examples of org.jeecgframework.poi.excel.annotation.ExcelCollection.type()

        if(isCollection(field.getType())){
          ExcelCollection collection = field
              .getAnnotation(ExcelCollection.class);
          fieldname = field.getName();
          setMethod = getMethod(fieldname,clazz,field.getType());
          setMethod.invoke(obj,ExcelPublicUtil.class.getClassLoader().loadClass(collection.type()).newInstance());
        }else if(!isJavaClass(field)){
          fieldname = field.getName();
          setMethod = getMethod(fieldname,clazz,field.getType() );
          setMethod.invoke(obj, createObject(field.getType(),targetId));
        }
View Full Code Here

Examples of org.jemmy.fx.control.TextInputControlDock.type()

  }
 
  public int setPoolSize(String size){
    TextInputControlDock textInput = new TextInputControlDock(scene.asParent(),"nummerNew");
    textInput.type(size);
    LabeledDock setButton = new LabeledDock(scene.asParent(),"nummerbutton");
    setButton.mouse().click();
    return testDataProvider.numberOfThreads;
  }
 
View Full Code Here

Examples of org.jfrog.build.api.builder.ArtifactBuilder.type()

        if (isArtifactExist(module.getArtifacts(), name) || isArtifactExist(module.getExcludedArtifacts(), name)) {
            return;
        }
        ArtifactBuilder artifactBuilder = new ArtifactBuilder(name);
        artifactBuilder.type(type);

        File artifactFile = new File(file);
        Map<String, String> checksums = calculateFileChecksum(artifactFile);
        String md5 = checksums.get(MD5);
        String sha1 = checksums.get(SHA1);
View Full Code Here

Examples of org.jfrog.build.api.builder.BuildInfoBuilder.type()

                .number("0").durationMillis(System.currentTimeMillis() - ctx.getBuildStartTime())
                .startedDate(new Date(ctx.getBuildStartTime()))
                .buildAgent(new BuildAgent("Ivy", Ivy.getIvyVersion()))
                .agent(new Agent("Ivy", Ivy.getIvyVersion()));
        // This is here for backwards compatibility.
        builder.type(BuildType.IVY);
        ArtifactoryClientConfiguration clientConf = ctx.getClientConf();
        String agentName = clientConf.info.getAgentName();
        String agentVersion = clientConf.info.getAgentVersion();
        if (StringUtils.isNotBlank(agentName) && StringUtils.isNotBlank(agentVersion)) {
            builder.agent(new Agent(agentName, agentVersion));
View Full Code Here

Examples of org.jfrog.build.api.builder.DependencyBuilder.type()

                    ModuleRevisionId id = artifactsReport.getArtifact().getModuleRevisionId();
                    String type = getType(artifactsReport.getArtifact());
                    Dependency dependency = findDependencyInList(id, type, moduleDependencies);
                    if (dependency == null) {
                        DependencyBuilder dependencyBuilder = new DependencyBuilder();
                        dependencyBuilder.type(type).scopes(Lists.newArrayList(configuration));
                        String idString = getModuleIdString(id.getOrganisation(),
                                id.getName(), id.getRevision());
                        dependencyBuilder.id(idString);
                        File file = artifactsReport.getLocalFile();
                        Map<String, String> checksums;
View Full Code Here

Examples of org.jgroups.annotations.XmlElement.type()

            choice.setAttribute("minOccurs", "0");
            choice.setAttribute("maxOccurs", "unbounded");
            complexType.appendChild(choice);
            Element tmp=xmldoc.createElement("xs:element");
            tmp.setAttribute("name", el.name());
            tmp.setAttribute("type", el.type());
            choice.appendChild(tmp);
        }

        XmlAttribute xml_attr=Util.getAnnotation(clazz, XmlAttribute.class);
        if(xml_attr != null) {
View Full Code Here

Examples of org.jgroups.annotations.XmlInclude.type()

        XmlInclude incl=Util.getAnnotation(clazz, XmlInclude.class);
        if(incl != null) {
            String[] schemas=incl.schema();
            if(schemas != null) {
                for(String schema: schemas) {
                    Element incl_el=xmldoc.createElement(incl.type() == XmlInclude.Type.IMPORT? "xs:import" : "xs:include");
                    if(incl.namespace() != null && !incl.namespace().isEmpty())
                        incl_el.setAttribute("namespace",incl.namespace());
                    incl_el.setAttribute("schemaLocation", schema);

                    Node first_child=xmldoc.getDocumentElement().getFirstChild();
View Full Code Here

Examples of org.jgroups.demo.tankwar.core.Session.type()

      logger.debug("handle message, " + msg.printHeaders() + " | " + msg.getSrc()  + " | "  + msg.getObject()) ;
    }
       
    Session session = (Session) msg.getObject();
   
    if(session.type().equals(Type.B) ) {
      bloods.get(0).updateBlood(session.bloodView());
    } else if(session.type().equals(Type.E)) {
      explodes.add(new Explode(session.explodeView()));
    }
   
View Full Code Here

Examples of org.jibx.binding.model.ElementBase.type()

     */
    private static void accumulateBindingDefinitions(BindingElement binding, Map elemmap, Map typemap) {
        ArrayList childs = binding.topChildren();
        for (int i = 0; i < childs.size(); i++) {
            ElementBase element = (ElementBase)childs.get(i);
            if (element.type() == ElementBase.INCLUDE_ELEMENT) {
               
                // use recursive call to add nested definitions in included binding
                accumulateBindingDefinitions(((org.jibx.binding.model.IncludeElement)element).getBinding(), elemmap,
                    typemap);
               
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.