public class CompoundCommandInfoSource extends Object implements CommandInfoSource
CommandInfoSource
s 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 CommandInfoSource
CommandInfoNotFoundException
public Collection<CommandInfo> getCommandInfos()
getCommandInfos
in interface CommandInfoSource
Copyright © 2014. All rights reserved.