Examples of description()


Examples of ca.uhn.fhir.model.api.annotation.SearchParamDefinition.description()

      if (searchParam != null) {
        SearchParamTypeEnum paramType = SearchParamTypeEnum.valueOf(searchParam.type().toUpperCase());
        if (paramType == null) {
          throw new ConfigurationException("Searc param " + searchParam.name() + " has an invalid type: " + searchParam.type());
        }
        RuntimeSearchParam param = new RuntimeSearchParam(searchParam.name(), searchParam.description(), searchParam.path(), paramType);
        theResourceDef.addSearchParam(param);
      }
    }

  }
View Full Code Here

Examples of com.amazonaws.services.simpleworkflow.flow.annotations.ActivityRegistrationOptions.description()

        ActivityRegistrationOptions registrationOptionsAnnotation = registrationOptions != null ? registrationOptions
                : parentRegistrationOptions;

        ActivityTypeRegistrationOptions result = new ActivityTypeRegistrationOptions();

        result.setDescription(emptyStringToNull(registrationOptionsAnnotation.description()));

        long taskHeartbeatTimeoutSeconds = registrationOptionsAnnotation.defaultTaskHeartbeatTimeoutSeconds();
        if (taskHeartbeatTimeoutSeconds > FlowConstants.USE_REGISTERED_DEFAULTS) {
            result.setDefaultTaskHeartbeatTimeoutSeconds(taskHeartbeatTimeoutSeconds);
        }
View Full Code Here

Examples of com.apelle.acsv.annotations.CSVCase.description()

                        LOGGER.fatal("Match type not found: " + csvCase.matchType());
                        throw new RuntimeException("Match time not found: " + csvCase.matchType());
                }

                Method method = caseHolder.getMethod();
                LOGGER.info(method.getName() + ": " + csvCase.description());


                if (match.matches()) {
                    isMatch = true;
                    LOGGER.info(" -> match!");
View Full Code Here

Examples of com.barchart.feed.api.model.meta.Exchange.description()

        return false;
      }

      final Exchange that = (Exchange)o;

      return (desc.equals(that.description()) && id.equals(that.id()));

    }

    @Override
    public ExchangeID id() {
View Full Code Here

Examples of com.buschmais.cdo.api.bootstrap.CdoUnitBuilder.description()

        String name = (String) properties.get(CdoUnitParameter.NAME.getKey());
        builder.name(name);

        // optional: description
        String description = (String) properties.get(CdoUnitParameter.DESCRIPTION.getKey());
        builder.description(description);

        // optional: listeners
        Collection<String> listenerNames = (Collection<String>) properties.get(CdoUnitParameter.INSTANCE_LISTENERS.getKey());
        if (listenerNames != null) {
            Collection<Class<?>> instanceListeners = ClassHelper.getTypes(listenerNames);
View Full Code Here

Examples of com.buschmais.xo.api.bootstrap.XOUnitBuilder.description()

        String name = (String) properties.get(XOUnitParameter.NAME.getKey());
        builder.name(name);

        // optional: description
        String description = (String) properties.get(XOUnitParameter.DESCRIPTION.getKey());
        builder.description(description);

        // optional: listeners
        Collection<String> listenerNames = (Collection<String>) properties.get(XOUnitParameter.INSTANCE_LISTENERS.getKey());
        if (listenerNames != null) {
            Collection<Class<?>> instanceListeners = ClassHelper.getTypes(listenerNames);
View Full Code Here

Examples of com.citytechinc.cq.component.annotations.widgets.rte.ParaFormatFormat.description()

          ParaFormatFormat curFormat = paraFormatAnnotation.formats()[i];
          RteParaFormatParameters paraParameters = new RteParaFormatParameters();
          paraParameters.setFieldName(formatFieldName);
          paraParameters.setTag(curFormat.tag());
          paraParameters.setDescription(curFormat.description());
          formatList.add(new RteParaFormat(paraParameters));
        }
      }

      WidgetCollectionParameters wcp = new WidgetCollectionParameters();
View Full Code Here

Examples of com.cloud.api.Implementation.description()

        if (impl == null) {
            impl = clas.getSuperclass().getAnnotation(Implementation.class);
        }

        if (impl.includeInApiDoc()) {
            String commandDescription = impl.description();
            if (commandDescription != null && !commandDescription.isEmpty()) {
              apiCommand.setDescription(commandDescription);
            } else {
              System.out.println("Command " + apiCommand.getName() + " misses description");
            }
View Full Code Here

Examples of com.cloud.api.Parameter.description()

        for (Field f : fields) {
            Parameter parameterAnnotation = f.getAnnotation(Parameter.class);
            if (parameterAnnotation != null && parameterAnnotation.expose() && parameterAnnotation.includeInApiDoc()) {
                Argument reqArg = new Argument(parameterAnnotation.name());
                reqArg.setRequired(parameterAnnotation.required());
                if (!parameterAnnotation.description().isEmpty()) {
                    reqArg.setDescription(parameterAnnotation.description());
                }
               
                if (parameterAnnotation.type() == BaseCmd.CommandType.LIST || parameterAnnotation.type() == BaseCmd.CommandType.MAP) {
                    reqArg.setType(parameterAnnotation.type().toString().toLowerCase());
View Full Code Here

Examples of com.cloud.serializer.Param.description()

               Param paramAnnotation = responseField.getAnnotation(Param.class);
                 Argument respArg = new Argument(nameAnnotation.value());

                 boolean hasChildren = false;
                 if (paramAnnotation != null && paramAnnotation.includeInApiDoc()) {
                     String description = paramAnnotation.description();
                     Class fieldClass = paramAnnotation.responseObject();
                     if (description != null && !description.isEmpty()) {
                         respArg.setDescription(description);
                     }
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.