| Modifier and Type | Field and Description |
|---|---|
| private static Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static FilterCommand | Returns: the command if a command could be created ornull if
there was no factory registered for that nameThe name for which a new
filterCommandName, Repository org. should be
createdthe repository this command should work on db, InputStream the in, OutputStream java. this
org. should read
fromthe out)java. this
org. should write
toCreate a new |
| public static Set | Returns: Set of commandNames for which aorg. is
registeredGet registered filter commands |
| public static boolean | Returns: true if any factory was registered for the namethe name for which the registry should be checked filterCommandName)Check whether any
|
| public static FilterCommandFactory | Returns: the previous factory associated withcommandName, or
null if there was no mapping for commandNamethe command name for which this factory is registered filterCommandName, FilterCommandFactory the factory responsible for creating
factory)org.s for the
specified nameRegister a |
| public static FilterCommandFactory | Returns: the previous factory associated withfilterCommandName,
or null if there was no mapping for commandNamethe FilterCommandFactory's filter command name filterCommandName)Unregister the |
| filterCommandRegistry | back to summary |
|---|---|
| private static Map<String, FilterCommandFactory> filterCommandRegistry | |
| FilterCommandRegistry | back to summary |
|---|---|
| public FilterCommandRegistry() | |
| createFilterCommand | back to summary |
|---|---|
| public static FilterCommand createFilterCommand(String filterCommandName, Repository db, InputStream in, OutputStream out) throws IOException Create a new
| |
| getRegisteredFilterCommands | back to summary |
|---|---|
| public static Set Get registered filter commands
| |
| isRegistered | back to summary |
|---|---|
| public static boolean isRegistered(String filterCommandName) Check whether any
| |
| register | back to summary |
|---|---|
| public static FilterCommandFactory register(String filterCommandName, FilterCommandFactory factory) Register a
| |
| unregister | back to summary |
|---|---|
| public static FilterCommandFactory unregister(String filterCommandName) Unregister the
| |