JobsConfig class final
Typed configuration for RoutedJobsProvider.
- Implemented types
Constructors
-
JobsConfig({JobQueue? queue, Iterable<
JobDefinitionBase> definitions = const []}) - Creates a jobs configuration.
Properties
-
definitions
→ List<
JobDefinitionBase> -
Manually registered application job definitions.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- queue → JobQueue
-
Queue transport used to publish messages.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(
) → RoutedJobs - Creates the jobs facade represented by 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
-
validate(
ConfigValidationContext context) → void -
Validates job names and queue defaults before provider registration.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited