Package org.crsh.cli.descriptor

Examples of org.crsh.cli.descriptor.CommandDescriptor


    ParameterMatch<OptionDescriptor> helpMatch = match.getParameter(optionDesc);
    assertNotNull(helpMatch);
    CommandInvoker<Instance<b>, ?> invoker = match.getInvoker();
    Help help = (Help)invoker.invoke(Util.wrap(new b()));
    assertNotNull(help);
    CommandDescriptor mainDescriptor = help.getDescriptor();
    assertEquals("b", mainDescriptor.getName());
    assertSame(null, mainDescriptor.getOwner());
  }
View Full Code Here

TOP

Related Classes of org.crsh.cli.descriptor.CommandDescriptor

Copyright © 2018 www.massapicom. 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.