changeset
Structured ChangeSet representation for capturing state mutations across domain boundaries.
- class bedrock_server_manager.state.changeset.ChangeSet(settings_changed: Set[str] = <factory>, servers_changed: Set[str] = <factory>, plugins_changed: Set[str] = <factory>, users_changed: Set[str] = <factory>, schedules_changed: Set[str] = <factory>)
Captures modified entity keys across application domains. Used by Storage and Service boundaries to persist and broadcast targeted mutations.
- is_empty() bool
Return True if no entity changes are recorded.
- add_setting(key: str) None
Adds a modified setting key.
- add_server(server_name: str) None
Adds a modified server name.
- add_plugin(plugin_name: str) None
Adds a modified plugin name.
- add_user(username: str) None
Adds a modified username.