SkillConversationIdFactoryBase クラス

  • java.lang.Object
    • com.microsoft.bot.builder.skills.SkillConversationIdFactoryBase

public abstract class SkillConversationIdFactoryBase

スキル会話用の一意の会話 ID を作成するために使用されるファクトリのインターフェイスを定義します。

コンストラクターの概要

コンストラクター 説明
SkillConversationIdFactoryBase()

メソッドの概要

修飾子と型 メソッドと説明
java.util.concurrent.CompletableFuture<java.lang.String> createSkillConversationId(SkillConversationIdFactoryOptions options)

スキル会話の会話 ID を作成します。

java.util.concurrent.CompletableFuture<java.lang.String> createSkillConversationId(ConversationReference conversationReference)

スキル会話スーパーの会話 ID を作成します。

abstract java.util.concurrent.CompletableFuture<java.lang.Void> deleteConversationReference(String skillConversationId)

ConversationReference を削除します。

java.util.concurrent.CompletableFuture<ConversationReference> getConversationReference(String skillConversationId)

{@link CreateSkillConversationId (Microsoft#getBot()#getSchema()#getConversatio Reference(),System#getThreading())#getCancellationToken())} を使用してスキル会話ID を作成した ConversationReference を取得します。

java.util.concurrent.CompletableFuture<SkillConversationReference> getSkillConversationReference(String skillConversationId)

スキルID の {@link スキル会話ID (スキルConversationIdFactoryオプション,System#getT reading()#getCancellationToken())} の実行中に使用される SkillConversationReference取得します。

メソッドの継承元: java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

コンストラクターの詳細

SkillConversationIdFactoryBase

public SkillConversationIdFactoryBase()

メソッドの詳細

createSkillConversationId

public CompletableFuture createSkillConversationId(SkillConversationIdFactoryOptions options)

スキル会話の会話 ID を作成します。

パラメーター:

options - 会話 ID を作成するためのパラメーターを含む SkillConversationIdFactoryOptions インスタンス。

戻り値:

スキルとの通信に使用される一意の会話 ID。 要求 URL で返される文字列を使用でき、特殊文字を含めないようにする必要があります。

createSkillConversationId

public CompletableFuture createSkillConversationId(ConversationReference conversationReference)

スキル会話スーパーの会話 ID を作成します。 呼び出し元の ConversationReference

パラメーター:

conversationReference - スキルの呼び出し元 ConversationReference

戻り値:

スキルとの通信に使用される一意の会話 ID。 要求 URL で返される文字列を使用でき、特殊文字を含めないようにする必要があります。

deleteConversationReference

public abstract CompletableFuture deleteConversationReference(String skillConversationId)

ConversationReference を削除します。

パラメーター:

skillConversationId - {@link CreateSkillConversationId(SkillConversationIdFactoryOptions,System#getT reading()#getCancellationToken())} を使用して作成されたスキル conversationId。

戻り値:

非同期操作を表す CompletableFuture

getConversationReference

public CompletableFuture getConversationReference(String skillConversationId)

skillConversationId の {@link CreateSkillConversationId(Microsoft#getBot()#getSchema()#getConversatio Reference(),System#getThreading()#getCancellationToken())} を使用して作成された ConversationReference を取得します。

パラメーター:

skillConversationId - {@link CreateSkillConversationId(Microsoft#getBot()#getSchema()#getConversatio Reference(),System#getThreading()#getCancellationToken())} を使用して作成されたスキル conversationId。

戻り値:

skillConversationId の呼び出し元の ConversationReference。 見つからない場合は null。

getSkillConversationReference

public CompletableFuture getSkillConversationReference(String skillConversationId)

スキルConversationId の {@link CreateSkillConversationId(SkillConversationIdFactoryOptions,System#getT reading()#getCancellationToken())} の間に使用される SkillConversationReference を取得します。

パラメーター:

skillConversationId - {@link CreateSkillConversationId(SkillConversationIdFactoryOptions,System#getT reading()#getCancellationToken())} を使用して作成されたスキル conversationId。

戻り値:

呼び出し元の skillConversationId の ConversationReference(originatingAudience)。 見つからない場合は Null。

適用対象