Examples of description()


Examples of com.tinkerpop.rexster.extension.ExtensionRequestParameter.description()

                for (Annotation annotation : parameterAnnotationSet) {
                    if (annotation instanceof ExtensionRequestParameter) {
                        final ExtensionRequestParameter extensionRequestParameter = (ExtensionRequestParameter) annotation;
                        queryStringParameters.put(new HashMap<String, String>() {{
                            put(QUERY_STRING_PARAMETER_NAME, extensionRequestParameter.name());
                            put(QUERY_STRING_PARAMETER_DESCRIPTION, extensionRequestParameter.description());
                        }});
                    }
                }
            }
        }
View Full Code Here

Examples of com.ubx1.pdpscanner.client.FindbugsAbbrev.description()

    FindbugsAbbrev fbAbbrev = FindbugsAbbrev.valueOf(abbrev);

    if (fbAbbrev != null) {

      return fbAbbrev.description();
    } else {

      return null;
    }
  }
View Full Code Here

Examples of com.ubx1.pdpscanner.client.FindbugsType.description()

    FindbugsType fbType = FindbugsType.valueOf(type);

    if (fbType != null) {

      return fbType.description();
    } else {

      return null;
    }
  }
View Full Code Here

Examples of com.wordnik.swagger.annotations.Api.description()

                }

                Map<String, Object> apiDescription = Maps.newHashMap();
                apiDescription.put("name", info.value());
                apiDescription.put("path", path.value());
                apiDescription.put("description", info.description());

                apis.add(apiDescription);
            }
            Collections.sort(apis, new Comparator<Map<String, Object>>() {
                @Override
View Full Code Here

Examples of com.wordnik.swagger.annotations.ApiClass.description()

        elem.setAttribute("name", classElementIn.getSimpleName().toString());
        elem.setAttribute("nameId","..." + classElementIn.getSimpleName().toString());
        ApiClass api = classElementIn.getAnnotation(ApiClass.class);
        if (api!=null) {
            elem.setAttribute("abstract",api.value());
            if (api.description()!=null && !api.description().isEmpty()) {
                elem.setAttribute("description",api.description());
            }
        }
        // Determine the name of how the elements of this class are named in the XML / JSON output
        XmlRootElement rootElement = classElementIn.getAnnotation(XmlRootElement.class);
View Full Code Here

Examples of com.wordnik.swagger.annotations.ApiModel.description()


  private Option<String> modelDescription(ResolvedType type) {
    ApiModel annotation = AnnotationUtils.findAnnotation(type.getErasedType(), ApiModel.class);
    if (annotation != null) {
      return Option.apply(annotation.description());
    }
    return Option.apply("");
  }

  private Iterable<? extends com.mangofactory.swagger.models.property.ModelProperty> properties(ModelContext context,
View Full Code Here

Examples of com.wordnik.swagger.model.ApiDescription.description()

    private MustacheDocument createMustacheDocument(ApiListing swaggerDoc) {
        MustacheDocument mustacheDocument = new MustacheDocument(swaggerDoc);
       
        for (scala.collection.Iterator<ApiDescription> it = swaggerDoc.apis().iterator(); it.hasNext(); ) {
            ApiDescription api = it.next();
            mustacheDocument.setDescription(Utils.getStrInOption(api.description()));

            MustacheApi mustacheApi = new MustacheApi(swaggerDoc.basePath(), api);

            for (scala.collection.Iterator<Operation> opIt  = api.operations().iterator(); opIt.hasNext(); ) {
                Operation op = opIt.next();
View Full Code Here

Examples of com.wordnik.swagger.model.ApiListingReference.description()

          newPath = "/" + newPath.substring(1);
        }
      }
      newPath += ".{format}";
      apiListingReferences.add(new ApiListingReference(newPath,
          apiListingReference.description(), apiListingReference
              .position()));
    }
    // there's no setter of path for ApiListingReference, we need to create
    // a new ResourceListing for new path
    serviceDocument = new ResourceListing(serviceDocument.apiVersion(),
View Full Code Here

Examples of com.wordnik.swagger.model.Parameter.description()

        assertEquals(true, documentationParameter.required());
        assertEquals(ApiValues.TYPE_PATH(), documentationParameter.paramType());
        assertEquals("string", documentationParameter.dataType());
//        assertEquals(String.class.getName(), documentationParameter.getValueTypeInternal());
        assertEquals(false, documentationParameter.allowMultiple());
        assertEquals("Owner name", documentationParameter.description().get());
    }

    @Test
    public void getPathParametersReturnsEmptyListWhenBadParametersArePassed() {
        List<Parameter> parameters = new ApiPathParser().getPathParameters(null, null);
View Full Code Here

Examples of common.WrappedActivity.description()

  while (it.hasNext()) {
      act = (WrappedActivity)it.next();
      acts.clear();
      if (act.name().equals("ACT1")) {
    assertTrue(act.priority() == 1);
    assertTrue(act.description()
         .equals("Activity with dummy implementation"));
    assertTrue(act.assignments().size() == 0);
    assertTrue(act.container().equals(proc2));
    assertTrue(act.nextActivities().size() == 1);
    acts.add("SET1");
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.