-
public interface ApplicationCodecTo import and export applications, intents, entities and sentences.
-
-
Method Summary
Modifier and Type Method Description abstract ApplicationDumpexport(Id<ApplicationDefinition> applicationId, DumpType dumpType)Export application dump. abstract ApplicationImportConfigurationprepareImport(ApplicationDump dump)Analyse the application dump and present options. abstract ImportReportimport(String namespace, ApplicationDump dump, ApplicationImportConfiguration configuration)Import the application dump. abstract ImportReportimportSentences(String namespace, SentencesDump dump)Import the sentences dump. abstract SentencesDumpexportSentences(Id<ApplicationDefinition> applicationId, DumpType dumpType, String intent, Locale locale)Export sentences dump. SentencesDumpexportSentences(SentencesQuery query, DumpType dumpType)Export sentences dump. abstract SentencesDumpexportSentences(List<SentencesQuery> queries, DumpType dumpType)Export sentences dump. -
-
Method Detail
-
export
abstract ApplicationDump export(Id<ApplicationDefinition> applicationId, DumpType dumpType)
Export application dump.
-
prepareImport
abstract ApplicationImportConfiguration prepareImport(ApplicationDump dump)
Analyse the application dump and present options.
-
import
abstract ImportReport import(String namespace, ApplicationDump dump, ApplicationImportConfiguration configuration)
Import the application dump.
-
importSentences
abstract ImportReport importSentences(String namespace, SentencesDump dump)
Import the sentences dump.
-
exportSentences
abstract SentencesDump exportSentences(Id<ApplicationDefinition> applicationId, DumpType dumpType, String intent, Locale locale)
Export sentences dump.
- Parameters:
intent- if specified, only the sentences classified as this intent are exportedlocale- if specified, only the sentences for this locale are exported
-
exportSentences
SentencesDump exportSentences(SentencesQuery query, DumpType dumpType)
Export sentences dump.
-
exportSentences
abstract SentencesDump exportSentences(List<SentencesQuery> queries, DumpType dumpType)
Export sentences dump.
-
-
-
-