public class CompoundCommandInfoSource extends Object implements CommandInfoSource
CommandInfoSources as one
Unfortunately, it can't just delegate requests; it has to merge them.
| Constructor and Description |
|---|
CompoundCommandInfoSource(CommandInfoSource source1,
CommandInfoSource source2) |
| Modifier and Type | Method and Description |
|---|---|
CommandInfo |
getCommandInfo(String name) |
Collection<CommandInfo> |
getCommandInfos() |
public CompoundCommandInfoSource(CommandInfoSource source1, CommandInfoSource source2)
public CommandInfo getCommandInfo(String name) throws CommandInfoNotFoundException
getCommandInfo in interface CommandInfoSourceCommandInfoNotFoundExceptionpublic Collection<CommandInfo> getCommandInfos()
getCommandInfos in interface CommandInfoSourceCopyright © 2013. All Rights Reserved.