Examples of description()


Examples of org.jclouds.fujitsu.fgcp.domain.DiskImage.Builder.description()

         Builder builder = DiskImage.builder();
         builder.osName(description);
         builder.osType("hvm");
         builder.creatorName("creator");
         builder.registrant("registrant");
         builder.description("description");
         builder.id("ABCDEFGH");
         DiskImage image = builder.build();

         OperatingSystem os = new DiskImageToOperatingSystem().apply(image);
View Full Code Here

Examples of org.jclouds.glesys.options.CreateServerOptions.description()

      Map<String, String> md = metadataAndTagsAsCommaDelimitedValue(template.getOptions());
      if (md.size() > 0) {
         String description = Joiner.on('\n').withKeyValueSeparator("=").join(md);
         // TODO: get glesys to stop stripping out equals and commas!
         createServerOptions.description(base16().lowerCase().encode(description.getBytes(UTF_8)));
      }
      ServerSpec.Builder<?> builder = ServerSpec.builder();
      builder.datacenter(template.getLocation().getId());
      builder.templateName(template.getImage().getId());
      builder.platform(template.getHardware().getHypervisor());
View Full Code Here

Examples of org.jclouds.vcloud.options.InstantiateVAppTemplateOptions.description()

      if (description == null) {
         Map<String, String> md = metadataAndTagsAsCommaDelimitedValue(template.getOptions());
         description = Joiner.on('\n').withKeyValueSeparator("=").join(md);
      }

      options.description(description);
      options.deploy(false);
      options.powerOn(false);

      URI VDC = URI.create(template.getLocation().getId());
View Full Code Here

Examples of org.jgroups.annotations.MBean.description()

        return obj;
    }

    private void findDescription() {
        MBean mbean=getObject().getClass().getAnnotation(MBean.class);
        if(mbean != null && mbean.description() != null && mbean.description().trim().length() > 0) {
            description=mbean.description();
            if(log.isDebugEnabled()) {
                log.debug("@MBean description set - " + mbean.description());
            }
            MBeanAttributeInfo info=new MBeanAttributeInfo(ResourceDMBean.MBEAN_DESCRITION,
View Full Code Here

Examples of org.jgroups.annotations.ManagedAttribute.description()

                    boolean writeAttribute=false;
                    if(isSetMethod(method)) { // setter
                        attributeName=(attributeName==null)?methodName.substring(3):attributeName;
                        info=new MBeanAttributeInfo(attributeName,
                                                    method.getParameterTypes()[0].getCanonicalName(),
                                                    attr.description(),
                                                    true,
                                                    true,
                                                    false);
                        writeAttribute=true;
                    }
View Full Code Here

Examples of org.jgroups.annotations.ManagedOperation.description()

                    attName=attName.substring(2);
                }
                //expose unless we already exposed matching attribute field
                boolean isAlreadyExposed=atts.containsKey(attName);
                if(!isAlreadyExposed) {
                    ops.add(new MBeanOperationInfo(op != null? op.description() : "", method));
                    if(log.isDebugEnabled()) {
                        log.debug("@Operation found for method " + method.getName());
                    }
                }               
            }                    
View Full Code Here

Examples of org.jgroups.annotations.Property.description()

                Field[] fields=clazzInLoop.getDeclaredFields();
                for(Field field:fields) {
                    if(field.isAnnotationPresent(Property.class)) {                                  
                        String property=field.getName();                      
                        Property annotation=field.getAnnotation(Property.class);
                        String desc=annotation.description();     
                        nameToDescription.put(property, desc);                                          
                    }
                }
            }
           
View Full Code Here

Examples of org.jgroups.demo.tankwar.jmx.annotations.ManagedOperation.description()

            attName=attName.substring(2);
        }
        //expose unless we already exposed matching attribute field
        boolean isAlreadyExposed=atts.containsKey(attName);
        if(!isAlreadyExposed) {
            ops.add(new MBeanOperationInfo(op != null? op.description() : "", method));
        }
    }
 
  private void exposeManagedAttribute(Method method){
        String methodName=method.getName();
View Full Code Here

Examples of org.jnetpcap.packet.annotate.Header.description()

        header.nicname = a.nicname();
      } else {
        header.nicname = header.name;
      }

      if (a.description().length() != 0) {
        header.description = a.description();
      } else if (a.dlt().length != 0) {
        /*
         * Description comes from libpcap itself :)
         */
 
View Full Code Here

Examples of org.neo4j.kernel.Traversal.description()

    int resCnt =0;
    for (Node author:graphDB.getAllNodes()){
      if (!author.hasProperty("name"))continue;
      if (++qCnt>numQueries)break;
      Traversal t = new Traversal();
      for (Path p:t.description().breadthFirst().relationships(DBRelationshipTypes.WRITTEN_BY).evaluator(Evaluators.atDepth(2)).uniqueness(Uniqueness.NONE).traverse(author)){
        Node coAuthor = p.endNode();
        resCnt++;
      }     
    }   
    return resCnt;
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.