SkillConversationIdFactoryBase Classe

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

public abstract class SkillConversationIdFactoryBase

Define a interface de uma fábrica usada para criar IDs de conversa exclusivas para conversas de habilidades.

Resumo do Construtor

Construtor Description
SkillConversationIdFactoryBase()

Resumo do método

Modificador e tipo Método e descrição
java.util.concurrent.CompletableFuture<java.lang.String> createSkillConversationId(SkillConversationIdFactoryOptions options)

Cria uma ID de conversa para uma conversa de habilidade.

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

Cria uma ID de conversa para uma conversa de habilidades super.

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

Exclui um ConversationReference .

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

Obtém o ConversationReference criado usando {@link CriarID de Conversade Habilidade(Microsoft#getBot()#getSchema()#getReferência do Conversatio(),System#getThreading()#getToken de Cancelamento())} para uma ID de conversade habilidade.

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

Obtém o SkillConversationReference usado durante {@link CriarID de Conversade Habilidade(Opções do Skill ConversationIdFactory,System#getT reading()#getCancellationToken())} para uma ID de conversade habilidade.

Métodos herdados de 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

Detalhes do construtor

SkillConversationIdFactoryBase

public SkillConversationIdFactoryBase()

Detalhes do método

createSkillConversationId

public CompletableFuture createSkillConversationId(SkillConversationIdFactoryOptions options)

Cria uma ID de conversa para uma conversa de habilidade.

Parameters:

options - Uma SkillConversationIdFactoryOptions instância que contém parâmetros para criar a ID da conversa.

Returns:

Uma ID de conversa exclusiva usada para se comunicar com a habilidade. Deve ser possível usar a Cadeia de Caracteres retornada em uma URL de solicitação e não deve conter caracteres especiais.

createSkillConversationId

public CompletableFuture createSkillConversationId(ConversationReference conversationReference)

Cria uma ID de conversa para uma conversa de habilidades super. no chamador.ConversationReference

Parameters:

conversationReference - O chamador ConversationReference da habilidade.

Returns:

Uma ID de conversa exclusiva usada para se comunicar com a habilidade. Deve ser possível usar a Cadeia de Caracteres retornada em uma URL de solicitação e não deve conter caracteres especiais.

deleteConversationReference

public abstract CompletableFuture deleteConversationReference(String skillConversationId)

Exclui um ConversationReference .

Parameters:

skillConversationId - Uma conversationId de habilidade criada usando {@link CreateSkillConversationId(SkillConversationIdFactoryOptions,System#getT reading()#getCancellationToken())} .

Returns:

Um CompletableFuture representando a operação assíncrona.

getConversationReference

public CompletableFuture getConversationReference(String skillConversationId)

Obtém o ConversationReference criado usando {@link CreateSkillConversationId(Microsoft#getBot()#getSchema()#getConversatio Reference(),System#getThreading()#getCancellationToken())} para um skillConversationId.

Parameters:

skillConversationId - Uma conversationId de habilidade criada usando {@link CreateSkillConversationId(Microsoft#getBot()#getSchema()#getConversatio Reference(),System#getThreading()#getCancellationToken())} .

Returns:

O chamador é ConversationReference para um skillConversationId. nulo se não for encontrado.

getSkillConversationReference

public CompletableFuture getSkillConversationReference(String skillConversationId)

Obtém o SkillConversationReference usado durante {@link CreateSkillConversationId(SkillConversationIdFactoryOptions,System#getT reading()#getCancellationToken())} para um skillConversationId.

Parameters:

skillConversationId - Uma conversationId de habilidade criada usando {@link CreateSkillConversationId(SkillConversationIdFactoryOptions,System#getT reading()#getCancellationToken())} .

Returns:

O chamador é ConversationReference para um skillConversationId, com originingAudience. Nulo se não for encontrado.

Aplica-se a