Examples of description()


Examples of javax.servlet.annotation.WebFilter.description()

                //Create filter element
                org.apache.openejb.jee.Filter newFilter = new org.apache.openejb.jee.Filter();
                webApp.getFilter().add(newFilter);
                newFilter.setFilterName(filterName);
                newFilter.setAsyncSupported(webFilter.asyncSupported());
                if (!webFilter.description().isEmpty()) {
                    newFilter.addDescription(new Text(null, webFilter.description()));
                }
                if (!webFilter.displayName().isEmpty()) {
                    newFilter.addDisplayName(new Text(null, webFilter.displayName()));
                }
View Full Code Here

Examples of javax.servlet.annotation.WebServlet.description()

                    newServlet.addDisplayName(new Text(null, webServlet.displayName()));
                }
                newServlet.setServletClass(cls.getName());
                newServlet.setServletName(servletName);
                newServlet.setAsyncSupported(webServlet.asyncSupported());
                if (!webServlet.description().isEmpty()) {
                    newServlet.addDescription(new Text(null, webServlet.description()));
                }
                if (webServlet.loadOnStartup() != -1) {
                    newServlet.setLoadOnStartup(webServlet.loadOnStartup());
                }
View Full Code Here

Examples of javax.servlet.sip.annotation.SipServlet.description()

          holder.setName(annotation.name());
        else
          holder.setName(_className.substring(_className.lastIndexOf('.') + 1));
       
        holder.setInitOrder(annotation.loadOnStartup());
        holder.setDisplayName(annotation.description());
        holder.setClassName(_className);
       
        context.addSipServlet(holder);
    }
}
View Full Code Here

Examples of jnr.constants.platform.Errno.description()

        Pointer nativeFileActions = nativeFileActions(fileActions);

        try {
            if (((UnixLibC) libc()).posix_spawnp(pid, path, nativeFileActions, null, argv, envp) < 0) {
                Errno e = Errno.valueOf(errno());
                handler.error(e, "posix_spawnp", e.description());
            }
        } finally {
            ((UnixLibC) libc()).posix_spawn_file_actions_destroy(nativeFileActions);
        }
View Full Code Here

Examples of jug.client.command.api.Command.description()

    public void execute(final String cmd) {
        for (Map.Entry<String, Class<?>> command : commands.entrySet()) {
            try {
                final Class<?> clazz = command.getValue();
                final Command annotation = clazz.getAnnotation(Command.class);
                System.out.println(annotation.name() + ": " + annotation.description());
                System.out.println("\tUsage: " + annotation.usage());
            } catch (Exception e) {
                // ignored = command not available
            }
        }
View Full Code Here

Examples of net.citizensnpcs.questers.quests.Quest.QuestBuilder.description()

    public static void instantiateQuests(ConfigurationHandler quests) {
        questLoop: for (Object questName : quests.getKeys(null)) {
            String path = questName.toString();
            QuestBuilder quest = new QuestBuilder(questName.toString());
            quest.description(quests.getString(path + ".texts.description"));
            quest.granter(new RewardGranter(quests.getString(path + ".texts.completion"), loadRewards(quests, path
                    + ".rewards")));
            quest.progressText(quests.getString(path + ".texts.status"));
            quest.acceptanceText(quests.getString(path + ".texts.acceptance"));
            quest.repeatLimit(quests.getInt(path + ".repeats"));
View Full Code Here

Examples of net.floodlightcontroller.debugevent.IDebugEventService.EventColumn.description()

            if (ec == null) continue;
            f.setAccessible(true);
            try {
                Object obj =  f.get(eventData);

                switch(ec.description()) {
                    case DPID:
                        retMap.put(ec.name(), HexString.toHexString((Long) obj));
                        break;
                    case MAC:
                        retMap.put(ec.name(), HexString.toHexString((Long) obj, 6));
View Full Code Here

Examples of net.sourceforge.argparse4j.inf.Subparser.description()

    @Test
    public void testSubparserFormatHelp() throws ArgumentParserException {
        ap.addArgument("--bar");
        Subparsers subparsers = ap.addSubparsers();
        Subparser parser = subparsers.addParser("install");
        parser.description("This is sub-command of argparser4j.").epilog(
                "This is epilog of sub-command.");
        parser.addArgument("--foo");
        assertEquals(String.format(
                  TextHelper.LOCALE_ROOT,
                  "usage: argparse4j install [-h] [--foo FOO]%n"
View Full Code Here

Examples of org.activiti.management.jmx.annotations.ManagedAttribute.description()

      LOG.trace("Extracting attributes and operations from method: {}", method);
      ManagedAttribute ma = method.getAnnotation(ManagedAttribute.class);
      if (ma != null) {
        String key;
        String desc = ma.description();
        Method getter = null;
        Method setter = null;

        if (ReflectUtil.isGetter(method)) {
          key = ReflectUtil.getGetterShorthandName(method);
View Full Code Here

Examples of org.activiti.management.jmx.annotations.ManagedOperation.description()

      }

      // operations
      ManagedOperation mo = method.getAnnotation(ManagedOperation.class);
      if (mo != null) {
        String desc = mo.description();
        Method operation = method;
        operations.add(new ManagedOperationInfo(desc, operation));
      }
    }
  }
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.