public interface Catalog
A Catalog
is a collection of named Command
s (or
Chain
s) that can be used to retrieve the set of commands that
should be performed based on a symbolic identifier. Use of catalogs
is optional, but convenient when there are multiple possible chains
that can be selected and executed based on environmental conditions.
Modifier and Type | Field and Description |
---|---|
static String |
CATALOG_KEY
A default context attribute for storing a default
Catalog ,
provided as a convenience only. |
Modifier and Type | Method and Description |
---|---|
void |
addCommand(String name,
Command command)
|
Command |
getCommand(String name)
|
Iterator |
getNames()
Return an
Iterator over the set of named commands
known to this Catalog . |
Copyright © 2003–2021 The Apache Software Foundation. All rights reserved.