Package ai.tock.bot.connector
Class ConnectorBase
-
- All Implemented Interfaces:
-
ai.tock.bot.connector.Connector
public abstract class ConnectorBase implements Connector
Base implementation of Connector. Connector implementations should usually extend this class.
-
-
Field Summary
Fields Modifier and Type Field Description private final ConnectorTypeconnectorTypeprivate final Set<ConnectorFeature>supportedFeaturesprivate final BooleanpersistProfileLoaded
-
Constructor Summary
Constructors Constructor Description ConnectorBase(ConnectorType connectorType, Set<ConnectorFeature> supportedFeatures)
-
Method Summary
Modifier and Type Method Description ConnectorTypegetConnectorType()The type of the connector. Set<ConnectorFeature>getSupportedFeatures()Supported features. StringtoString()Returns connectorType. -
Methods inherited from class ai.tock.bot.connector.Connector
addSuggestions, addSuggestions, canHandleMessageFor, endProactiveConversation, flushProactiveConversation, getPersistProfileLoaded, hasFeature, loadProfile, notify, refreshProfile, register, send, startProactiveConversation, toConnectorMessage, unregister -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ConnectorBase
ConnectorBase(ConnectorType connectorType, Set<ConnectorFeature> supportedFeatures)
-
-
Method Detail
-
getConnectorType
ConnectorType getConnectorType()
The type of the connector.
-
getSupportedFeatures
Set<ConnectorFeature> getSupportedFeatures()
Supported features.
-
-
-
-