Uses of Interface
de.xima.fc.prompt.service.IPromptBinaryData
Packages that use IPromptBinaryData
Package
Description
Contains the API for a prompt service that abstract the details of a particular provider.
Contains default implementations for various interfaces defined by the handler API.
The prompt API is kept intentionally low-level to support a wide range of use cases.
-
Uses of IPromptBinaryData in de.xima.fc.prompt.mgmt.gui.bean
Methods in de.xima.fc.prompt.mgmt.gui.bean that return types with arguments of type IPromptBinaryDataModifier and TypeMethodDescriptionPromptQueryBean.getOutputTestFileListHandler()Gets the file list handler for the<xi:fileList />component that lets the view the output files produced by the prompt query during execution. -
Uses of IPromptBinaryData in de.xima.fc.prompt.mgmt.gui.logic
Methods in de.xima.fc.prompt.mgmt.gui.logic that return types with arguments of type IPromptBinaryDataModifier and TypeMethodDescriptionstatic IFileListHandler<IPromptBinaryData> PromptQueryTestExecutionHelper.newOutputTestFileListHandler()Creates a new file list handler for the output test files produces during the execution of a prompt query, to be used with the<xi:fileList handler="..."/>component. -
Uses of IPromptBinaryData in de.xima.fc.prompt.mgmt.gui.model
Methods in de.xima.fc.prompt.mgmt.gui.model that return types with arguments of type IPromptBinaryDataModifier and TypeMethodDescriptionPromptQueryTestExecutionResult.getFiles()Gets the list of files that were produced as part of the prompt query test execution.Method parameters in de.xima.fc.prompt.mgmt.gui.model with type arguments of type IPromptBinaryDataModifier and TypeMethodDescriptionPromptQueryTestExecutionResult.forSuccess(String json, List<PromptTestFileList<IPromptBinaryData>> files) Creates a new successful prompt query test execution result. -
Uses of IPromptBinaryData in de.xima.fc.prompt.service
Methods in de.xima.fc.prompt.service that return IPromptBinaryDataModifier and TypeMethodDescriptionSerializedPromptConfig.Builder.firstBinaryData(String key) Gets the first binary data associated with the given key, or null if no such value exists.SerializedPromptConfig.firstBinaryData(String key) Gets the first binary data associated with the given key, or null if no such value exists.Methods in de.xima.fc.prompt.service that return types with arguments of type IPromptBinaryDataModifier and TypeMethodDescriptionSerializedPromptConfig.binaryData()Gets the binary data, indexed by their keys.SerializedPromptConfig.binaryData(String key) Returns the binary data associated with the given key, or null if no such value exists.SerializedPromptConfig.Builder.binaryData(String key) Gets the binary data associated with the given key, or an empty list if no such value exists.Map<String, ? extends List<? extends IPromptBinaryData>> IPromptQueryIoObject.files()Binary data that conforms to the structure defined by the corresponding I/O parameter descriptor, seefile descriptor.Methods in de.xima.fc.prompt.service with parameters of type IPromptBinaryDataModifier and TypeMethodDescriptionSerializedPromptConfig.Builder.addBinaryData(String key, IPromptBinaryData value) Adds a single binary data object to the existing binary data map for the specified key.SerializedPromptConfig.Builder.binaryData(String key, IPromptBinaryData value) Sets the binary data for the specified key to a single value.Method parameters in de.xima.fc.prompt.service with type arguments of type IPromptBinaryDataModifier and TypeMethodDescriptionSerializedPromptConfig.Builder.addBinaryData(String key, List<IPromptBinaryData> values) Adds a list of binary data objects to the existing binary data map for the specified key.SerializedPromptConfig.Builder.addBinaryData(Map<String, List<IPromptBinaryData>> binaryData) Adds binary data to the existing binary data map.SerializedPromptConfig.Builder.binaryData(String key, List<IPromptBinaryData> values) Sets the binary data for the specified key to a list of values.SerializedPromptConfig.Builder.binaryData(Map<String, List<IPromptBinaryData>> binaryData) Clears all existing binary data and replaces it with the provided binary data. -
Uses of IPromptBinaryData in de.xima.fc.prompt.service.defaults
Methods in de.xima.fc.prompt.service.defaults that return IPromptBinaryDataModifier and TypeMethodDescriptionstatic IPromptBinaryDataPromptBinaryData.diskPromptBinaryData(String fileName, String mimeType, Path content) Creates an implementation ofIPromptBinaryDatabacked by a file on the disk (file system).static IPromptBinaryDataPromptBinaryData.emptyPromptBinaryData(String fileName, String mimeType) Creates an implementation ofIPromptBinaryDatarepresenting an empty file.static IPromptBinaryDataPromptBinaryData.memoryPromptBinaryData(String fileName, String mimeType, Instant lastModified, byte[] content) Creates an implementation ofIPromptBinaryDatabacked by a byte array in memory.static IPromptBinaryDataPromptBinaryData.supplierBinaryData(String fileName, String mimeType, Instant lastModified, int fileSize, ISerializableInputStreamSupplier supplier) Creates an implementation ofIPromptBinaryDatabacked by an input stream supplier. -
Uses of IPromptBinaryData in de.xima.fc.prompt.service.support
Methods in de.xima.fc.prompt.service.support that return types with arguments of type IPromptBinaryDataModifier and TypeMethodDescriptionIPromptExecutionResolveFilesBuilder.buildFlat()Resolves all files according to the current settings of this builder, and returns those files as a flat list.IPromptExecutionResolvedFiles.dynamicFiles()Gets a map with the resolved dynamic files.IPromptExecutionResolvedFiles.staticFiles()Gets the list of resolved static files.Methods in de.xima.fc.prompt.service.support with parameters of type IPromptBinaryDataModifier and TypeMethodDescriptionvoidPromptConfigFile.setFileContent(IPromptBinaryData data) Sets the file content to the given binary data.Constructors in de.xima.fc.prompt.service.support with parameters of type IPromptBinaryDataModifierConstructorDescriptionCreates a new file preloaded with the content of the given binary data.