HHConfig class
Mutable configuration for HiveHook. Use finalize to create an immutable config for use with HHive.
- Implementers
Constructors
-
HHConfig({required String env, List<
HActionHook> ? actionHooks, List<SerializationHook> ? serializationHooks, List<TerminalSerializationHook> ? terminalSerializationHooks, bool usesMeta = true}) -
Creates a mutable configuration.
Set
usesMetato enable metadata support (default: true).
Properties
-
actionHooks
→ List<
HActionHook> -
final
- env → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
installedPlugins
→ Map<
String, HHPlugin> -
Get all installed plugins
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serializationHooks
→ List<
SerializationHook> -
final
-
terminalSerializationHooks
→ List<
TerminalSerializationHook> -
final
- usesMeta → bool
-
final
Methods
-
finalize(
) → HHImmutableConfig - Converts this mutable config into an immutable config for use with HHive.
-
installPlugin(
HHPlugin plugin) → void - Installs a plugin by adding all its hooks to this configuration.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
uninstallPlugin(
String pluginUid) → void - Uninstalls a plugin by removing all its hooks from this configuration.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited