@ApplicationScoped public class CommandMethodMetaInfo extends DestroyableBase
Stores the command method meta info including
Destroyable.Utillogger| Constructor and Description |
|---|
CommandMethodMetaInfo(CommanderClassMetaInfo clsInfo) |
addSubResource, destroy, isDestroyed, reload, scopedebug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, trace, trace, warn, warn@Inject public CommandMethodMetaInfo(CommanderClassMetaInfo clsInfo)
public CommanderClassMetaInfo classInfo()
public CommandMethodMetaInfo methodName(java.lang.String name)
public java.lang.String methodName()
public CommandMethodMetaInfo view(CliView view)
public CliView view()
public CommandMethodMetaInfo commandName(java.lang.String name)
public java.lang.String commandName()
public java.lang.String fullName()
public CommandMethodMetaInfo helpMsg(java.lang.String msg)
public java.lang.String helpMsg()
public java.util.List<org.osgl.Osgl.T2<java.lang.String,java.lang.String>> options(CommanderClassMetaInfo classMetaInfo, AppClassLoader classLoader)
Returns CliHandler.options()
CliHandler.options()public org.osgl.Osgl.T2<java.lang.String,java.lang.String> commandLine(CommanderClassMetaInfo classMetaInfo, AppClassLoader classLoader)
Returns CliHandler.commandLine()
CliHandler.commandLine()public CommandMethodMetaInfo mode(Act.Mode mode)
public Act.Mode mode()
public CommandMethodMetaInfo invokeStaticMethod()
public CommandMethodMetaInfo invokeInstanceMethod()
public boolean isStatic()
public CommandMethodMetaInfo propertySpec(PropertySpec.MetaInfo propertySpec)
public PropertySpec.MetaInfo propertySpec()
public CommandMethodMetaInfo returnType(act.asm.Type type)
public act.asm.Type returnType()
public CommandMethodMetaInfo addParam(CommandParamMetaInfo paramInfo)
public org.osgl.util.C.List<CommandParamMetaInfo> params()
public CommandParamMetaInfo param(int id)
public int paramCount()
public CommandMethodMetaInfo addLead(java.lang.String lead)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectprotected void releaseResources()
releaseResources in class DestroyableBaseCopyright © 2014–2017 ActFramework. All rights reserved.