public class MgnlCatalog extends Object implements Catalog
Constructor and Description |
---|
MgnlCatalog() |
MgnlCatalog(Map<String,Command> commands) |
Modifier and Type | Method and Description |
---|---|
void |
addCommand(String name,
Command command) |
Command |
getCommand(String name) |
String |
getName() |
Set<String> |
getNames() |
void |
setName(String name) |
String |
toString() |
public void addCommand(String name, Command command)
addCommand
in interface Catalog
public Command getCommand(String name)
getCommand
in interface Catalog
public String getName()
public void setName(String name)
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.