Class PromptFiles
java.lang.Object
de.xima.fc.prompt.service.support.PromptFiles
- All Implemented Interfaces:
Serializable
A configuration for a set of files, used by the configuration of a prompt connection or query. The files can come
from either dynamic file input parameters (the user must provide the file(s) when executing the query) and/or from a
statically configured files (files must be uploaded in the query configuration UI).
This model is intended both for use cases that allow only a single file, and for use cases that allow multiple
files. In case only a single file is allowed, source decides whether the
dynamic or static file is used. The UI and/or the validation
logic must ensure that only a single file is configured.
- Since:
- 8.5.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDynamicFiles(List<PromptFileSetParameter> dynamicFiles) voidsetSource(PromptFileSource source) voidsetStaticFiles(List<PromptConfigFile> staticFiles)
-
Constructor Details
-
PromptFiles
public PromptFiles()
-
-
Method Details
-
getDynamicFiles
-
setDynamicFiles
-
getSource
-
setSource
-
getStaticFiles
-
setStaticFiles
-