public class OutputRegistry extends Object
CommandOutput types and their factories.CommandOutput| Constructor and Description |
|---|
OutputRegistry()
Create a new
OutputRegistry registering builtin CommandOutput types. |
OutputRegistry(boolean registerBuiltin)
Create a new
OutputRegistry. |
| Modifier and Type | Method and Description |
|---|---|
<T extends CommandOutput<?,?,?>> |
register(Class<T> commandOutputClass,
CommandOutputFactory commandOutputFactory)
Register a
CommandOutput type with its CommandOutputFactory. |
public OutputRegistry()
OutputRegistry registering builtin CommandOutput types.public OutputRegistry(boolean registerBuiltin)
OutputRegistry.registerBuiltin - true to register builtin CommandOutput types.public <T extends CommandOutput<?,?,?>> void register(Class<T> commandOutputClass, CommandOutputFactory commandOutputFactory)
CommandOutput type with its CommandOutputFactory.commandOutputClass - must not be null.commandOutputFactory - must not be null.Copyright © 2020 lettuce.io. All rights reserved.