The SystemState that the mapping will belong to
The System type for the mapping
Creates a mapping for the System type to a specific System instance. A SystemInstanceProvider is used for the mapping.
The System instance to use for the mapping
This StateSystemMapping, so more modifications can be applied
Creates a mapping for the System type to a method call. The method should return a System instance. A DynamicSystemProvider is used for the mapping.
The method to provide the System instance.
This StateSystemMapping, so more modifications can be applied.
Maps through to the addProvider method of the SystemState that this mapping belongs to so that a fluent interface can be used when configuring entity states.
The component provider to use.
This StateSystemMapping, so more modifications can be applied.
Creates a mapping for the System type to a single instance of the provided type. The instance is not created until it is first requested. The type should be the same as or extend the type for this mapping. A SystemSingletonProvider is used for the mapping.
The type of the single instance to be created. If omitted, the type of the mapping is used.
This StateSystemMapping, so more modifications can be applied
Applies the priority to the provider that the System will be.
The component provider to use.
This StateSystemMapping, so more modifications can be applied.
Generated using TypeDoc
Used internally, the constructor creates a component mapping. The constructor creates a SystemSingletonProvider as the default mapping, which will be replaced by more specific mappings if other methods are called.