Examples of description()


Examples of org.apache.karaf.shell.commands.Argument.description()

                public String name() {
                    return name;
                }

                public String description() {
                    return delegate.description();
                }

                public boolean required() {
                    return delegate.required();
                }
View Full Code Here

Examples of org.apache.karaf.shell.commands.Command.description()

        out.println("h1. " + command.scope() + ":" + command.name());
        out.println();

        out.println("h2. Description");
        out.println(command.description());
        out.println();

        StringBuffer syntax = new StringBuffer();
        syntax.append(String.format("%s:%s", command.scope(), command.name()));
        if (options.size() > 0) {
View Full Code Here

Examples of org.apache.phoenix.metrics.PhoenixMetricsRecord.description()

      @Override
      public Void answer(InvocationOnMock invocation) throws Throwable {
        PhoenixMetricsRecord record = (PhoenixMetricsRecord) invocation.getArguments()[0];
        //validate that we got the right fields in the record
        assertEquals("phoenix.987654", record.name());
        assertEquals("Some generic trace", record.description());
        int count = 0;
        for (PhoenixAbstractMetric metric : record.metrics()) {
          count++;
          //find the matching metric in the list
          boolean found = false;
View Full Code Here

Examples of org.apache.qpid.management.common.mbeans.annotations.MBeanAttribute.description()

    private static String getAttributeDescription(Method attributeMethod)
    {
        MBeanAttribute anno = attributeMethod.getAnnotation(MBeanAttribute.class);
        if (anno != null)
        {
            return anno.description();
        }
        return _defaultAttributeDescription;
    }

    /**
 
View Full Code Here

Examples of org.apache.uima.fit.descriptor.ExternalResource.description()

        api = (Class) Object.class;
      }
    }

    return ExternalResourceFactory.createExternalResourceDependency(key, api, !era.mandatory(),
            era.description());
  }

  /**
   * Creates an ExternalResourceDependency for a given key and interface
   *
 
View Full Code Here

Examples of org.codehaus.plexus.component.annotations.Component.description()

        component.setComponentConfigurator(filterEmptyAsNull(anno.configurator()));

        component.setComponentFactory(filterEmptyAsNull(anno.factory()));

        component.setDescription(filterEmptyAsNull(anno.description()));

        component.setAlias(filterEmptyAsNull(anno.alias()));

        component.setIsolatedRealm(anno.isolatedRealm());
View Full Code Here

Examples of org.data2semantics.platform.annotation.In.description()

    Constructor<?>[] constructors = theClass.getConstructors();
   
    for(Field f : fields){
      In inputAnnotation = getInputAnnotations(f);
      if(inputAnnotation != null && inputAnnotation.name().equals(name))
        return inputAnnotation.description();
    }

    // Case where input are defined as parameter of constructors.
    for(Constructor c : constructors){
      Annotation [][] parameterAnnotations = c.getParameterAnnotations();
View Full Code Here

Examples of org.data2semantics.platform.annotation.Main.description()

        }
        if(a instanceof Main){
          Main mainAnnotation = (Main)a;
          if(mainAnnotation.name().equals(name))        
            return mainAnnotation.description();

        }
      }

    }
View Full Code Here

Examples of org.data2semantics.platform.annotation.Out.description()

    for (Field f : fields)
    {
      Out outputAnnotation = getOutputAnnotations(f);
      if (outputAnnotation != null
          && outputAnnotation.name().equals(name))
          return outputAnnotation.description();

    }

    for (Method m : methods)
    {
View Full Code Here

Examples of org.dcm4che3.conf.api.generic.ConfigField.description()

            // save metadata
            Map<String, Object> fieldMetaData = new HashMap<String, Object>();
            classMetaData.put(fieldAnno.name(), fieldMetaData);

            fieldMetaData.put("label", fieldAnno.label());
            fieldMetaData.put("description", fieldAnno.description());
            fieldMetaData.put("optional", fieldAnno.optional());
           
            // find typeadapter
            ConfigTypeAdapter customRep = config.lookupTypeAdapter(classField.getType());
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.