SkillConversationIdFactoryBase 클래스

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

public abstract class SkillConversationIdFactoryBase

기술 대화에 대한 고유한 대화 ID를 만드는 데 사용되는 팩터리의 인터페이스를 정의합니다.

생성자 요약

생성자 Description
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)

기술대화ID에 대한 {@link CreateSkillConversationId(Microsoft#getBot()#getSchema()#getConversatio Reference(),System#getThreading()#getCancellationToken())}를 사용하여 만든 ConversationReference 가져옵니다.

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

기술대화ID에 대한 {@link기술대화ID(SkillConversationIdFactory옵션, 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)

skillConversationId에 대한 {@link CreateSkillConversationId(SkillConversationIdFactoryOptions,System#getT reading()#getCancellationToken())} 중에 사용되는 SkillConversationReference 가져옵니다.

매개 변수:

skillConversationId - {@link CreateSkillConversationId(SkillConversationIdFactoryOptions,System#getT reading()#getCancellationToken())}를 사용하여 만든 기술 conversationId입니다.

반환:

skillConversationId에 대한 호출자의 ConversationReference. 찾을 수 없는 경우 Null입니다.

적용 대상