Examples of description()


Examples of org.jboss.aesh.cl.OptionList.description()

                if(field.getGenericType() != null) {
                    ParameterizedType listType = (ParameterizedType) field.getGenericType();
                    type = (Class) listType.getActualTypeArguments()[0];
                }
                if(ol.name() == null || ol.name().length() < 1) {
                    processedCommand.addOption(ol.shortName(), field.getName(), ol.description(), "",
                            ol.required(), ol.valueSeparator(), ol.defaultValue(), type, field.getName(), OptionType.LIST,
                            ol.converter(), ol.completer(), ol.validator(), ol.activator(), ol.renderer());
                }
                else {
                    processedCommand.addOption(ol.shortName(), ol.name(), ol.description(), "",
View Full Code Here

Examples of org.jboss.cache.jmx.annotations.MBean.description()

   }

   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());
View Full Code Here

Examples of org.jboss.cache.jmx.annotations.ManagedAttribute.description()

               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.jboss.cache.jmx.annotations.ManagedOperation.description()

            }
            //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.jboss.forge.shell.plugins.Option.description()

                     Option option = (Option) annotation;
                     optionMeta.setParent(commandMeta);
                     optionMeta.setName(option.name());
                     optionMeta.setShortName(option.shortName());
                     optionMeta.setFlagOnly(option.flagOnly());
                     optionMeta.setDescription(option.description());
                     optionMeta.setDefaultValue(option.defaultValue());
                     optionMeta.setHelp(option.help());
                     optionMeta.setRequired(option.required());
                     optionMeta.setPromptType(option.type());
                     optionMeta.setCompleterType(option.completer());
View Full Code Here

Examples of org.jboss.managed.api.annotation.ManagementParameter.description()

            if (i < params.length)
            {
               mpa = params[i];
               if (mpa.name().equals(AnnotationDefaults.EMPTY_STRING) == false)
                  pname = mpa.name();
               if (mpa.description().equals(AnnotationDefaults.EMPTY_STRING) == false)
                  pdescription = mpa.description();
            }
            // Generate a name if there is none
            if (pname == null)
               pname = "arg#" + i;
View Full Code Here

Examples of org.jboss.managed.api.annotation.ManagementProperty.description()

                  mappedName = propertyInfo.getName();
               fields.setField(Fields.MAPPED_NAME, mappedName);

               String description = ManagementConstants.GENERATED;
               if (managementProperty != null)
                  description = managementProperty.description();
               if (description.equals(ManagementConstants.GENERATED))
                  description = propertyName;
               fields.setField(Fields.DESCRIPTION, description);

               if (trace)
View Full Code Here

Examples of org.jclouds.compute.domain.ImageBuilder.description()

   @Override
   public Image apply(CIMOperatingSystem from) {
      ImageBuilder builder = new ImageBuilder();
      builder.ids(from.getOsType().getCode() + "");
      builder.name(from.getName());
      builder.description(from.getDescription());
      builder.operatingSystem(from);
      builder.status(Status.AVAILABLE);
      return builder.build();
   }
View Full Code Here

Examples of org.jclouds.compute.domain.OperatingSystem.Builder.description()

   }

   public OperatingSystem apply(Dataset from) {
      Builder builder = OperatingSystem.builder();
      builder.name(from.getName());
      builder.description(from.getUrn());
      builder.is64Bit(true);// TODO: verify
      String os = from.getOs();
      OsFamily family = UNRECOGNIZED;
      String version = "";
      if (os.compareTo("smartos") == 0) {
View Full Code Here

Examples of org.jclouds.domain.LocationBuilder.description()

     
      NodeMetadataBuilder nodeMetadataBuilder = new NodeMetadataBuilder();
      nodeMetadataBuilder.name(name).ids(vm.getName()).group(group);
      // TODO Set up location properly
      LocationBuilder locationBuilder = new LocationBuilder();
      locationBuilder.description("");
      locationBuilder.id("");
      locationBuilder.scope(LocationScope.HOST);
      nodeMetadataBuilder.location(locationBuilder.build());
      nodeMetadataBuilder.hostname(vm.getName());
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.