org.crsh.cmdline
Class CommandFactory
java.lang.Object
org.crsh.cmdline.CommandFactory
public class CommandFactory
- extends Object
- Version:
- $Revision$
- Author:
- Julien Viet
Nested Class Summary |
protected static class |
CommandFactory.Tuple
Jus grouping some data for conveniency |
Field Summary |
private static org.slf4j.Logger |
log
. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.slf4j.Logger log
- .
CommandFactory
public CommandFactory()
create
public static <T> ClassDescriptor<T> create(Class<T> type)
throws IntrospectionException
- Throws:
IntrospectionException
create
protected static <B extends TypeBinding> ParameterDescriptor<B> create(B binding,
Type type,
Argument argumentAnn,
Option optionAnn,
boolean required,
Description info,
Annotation ann)
throws IntrospectionException
- Throws:
IntrospectionException
get
protected static CommandFactory.Tuple get(Annotation... ab)
create
public static <T> MethodDescriptor<T> create(ClassDescriptor<T> owner,
Method m)
throws IntrospectionException
- Throws:
IntrospectionException
parameters
private static List<ParameterDescriptor<ClassFieldBinding>> parameters(Class<?> introspected)
throws IntrospectionException
- Throws:
IntrospectionException
Copyright © 2012 eXo Platform SAS. All Rights Reserved.