public class MultiCommand extends BaseCommand
PARAM_DESCRIPTION, PARAM_NAME, PARAM_USAGE| Constructor and Description |
|---|
MultiCommand() |
| Modifier and Type | Method and Description |
|---|---|
CommandResult |
execute(Object[] params) |
CommandResult |
execute(String name,
Object[] params) |
Command |
getCommand(String name) |
List<Command> |
getCommands() |
String |
getDefaultDescription() |
String |
getDefaultName() |
String |
getDefaultUsage() |
String |
getDescription(String name) |
String |
getUsage(String name) |
void |
init(Session session,
Map<String,String> parameters)
Component lifecycle hook.
|
boolean |
supports(String name) |
getDescription, getName, getUsage, setDescription, setName, setUsagedestroy, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSessiondestroy, getParameterspublic void init(Session session, Map<String,String> parameters) throws OpenAS2Exception
Componentinit in interface Componentinit in class BaseCommandsession - the component uses this object to access other componentsparameters - configuration values for the componentOpenAS2Exception - If an error occurs while initializing the componentSessionpublic CommandResult execute(Object[] params)
execute in interface Commandexecute in class BaseCommandpublic CommandResult execute(String name, Object[] params) throws OpenAS2Exception
OpenAS2Exceptionpublic boolean supports(String name)
public String getDefaultName()
getDefaultName in class BaseCommandpublic String getDefaultDescription()
getDefaultDescription in class BaseCommandpublic String getDefaultUsage()
getDefaultUsage in class BaseCommandCopyright © 2017. All rights reserved.