|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.cmdline.CommandFactory
public class CommandFactory
| Nested Class Summary | |
|---|---|
protected static class |
CommandFactory.Tuple
Jus grouping some data for conveniency |
| Field Summary | |
|---|---|
private static org.slf4j.Logger |
log
. |
| Constructor Summary | |
|---|---|
CommandFactory()
|
|
| Method Summary | ||
|---|---|---|
protected static
|
create(B binding,
Type type,
Argument argumentAnn,
Option optionAnn,
boolean required,
Description info,
Annotation ann)
|
|
static
|
create(Class<T> type)
|
|
static
|
create(ClassDescriptor<T> owner,
Method m)
|
|
protected static CommandFactory.Tuple |
get(Annotation... ab)
|
|
private static List<ParameterDescriptor<ClassFieldBinding>> |
parameters(Class<?> introspected)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final org.slf4j.Logger log
| Constructor Detail |
|---|
public CommandFactory()
| Method Detail |
|---|
public static <T> ClassDescriptor<T> create(Class<T> type)
throws IntrospectionException
IntrospectionException
protected static <B extends TypeBinding> ParameterDescriptor<B> create(B binding,
Type type,
Argument argumentAnn,
Option optionAnn,
boolean required,
Description info,
Annotation ann)
throws IntrospectionException
IntrospectionExceptionprotected static CommandFactory.Tuple get(Annotation... ab)
public static <T> MethodDescriptor<T> create(ClassDescriptor<T> owner,
Method m)
throws IntrospectionException
IntrospectionException
private static List<ParameterDescriptor<ClassFieldBinding>> parameters(Class<?> introspected)
throws IntrospectionException
IntrospectionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||