new IntentHandlerManagerFactory()
Static factor for creating IntentHandlerManagers. This should never need to be called and is here as a placeholder.
Methods
(static) createByDirectory(directory) → {IntentHandlerManager}
Creates a IntentHandlerManager that loads intents from a directory and
uses the DefaultIntentHandlerManager and the IntentHandlerProviderByDirectory provider
Parameters:
Name | Type | Description |
---|---|---|
directory |
String | The directory to load intents from |
- Source:
- See:
Returns:
The IntentHanderManager that will manage the intents
- Type
- IntentHandlerManager
(static) createByFile(file) → {IntentHandlerManager}
Creates a IntentHandlerManager that loads an intent from a file and
uses the DefaultIntentHandlerManager and the IntentHandlerProviderByFile provider
Parameters:
Name | Type | Description |
---|---|---|
file |
String | The file to load an intent from |
- Source:
- See:
Returns:
The IntentHanderManager that will manage the intents
- Type
- IntentHandlerManager
(static) createByMap(map) → {IntentHandlerManager}
Creates a IntentHandlerManager that loads intents from a map and
uses the DefaultIntentHandlerManager and the IntentHandlerProviderByMap provider
Parameters:
Name | Type | Description |
---|---|---|
map |
Map | The map to load intents from |
- Source:
- See:
Returns:
The IntentHanderManager that will manage the intents
- Type
- IntentHandlerManager