SchedulerJobRegistry class
Registry for managing scheduled jobs
This class provides a centralized way to register and resolve scheduled jobs by name. It supports both built-in jobs and user-defined custom jobs.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- count → int
-
Get the number of registered jobs
no setter
-
registeredNames
→ List<
String> -
Get a list of all registered job names
no setter
Static Methods
-
clear(
) → void - Clear all registered jobs
-
isRegistered(
String name) → bool - Check if a job is registered
-
register(
JobDefinition job) → void - Register a new job definition
-
registerAll(
) → void - Register all built-in scheduled jobs
-
resolve(
String name, Map< String, dynamic> config) → ScheduledJob? - Resolve a job by name and configuration
-
unregister(
String name) → bool - Unregister a job by name