Class HierarchialTranslationTable.PropBasedExportTask
java.lang.Object
com.inductiveautomation.ignition.designer.i18n.workspace.HierarchialTranslationTable.AbstractExportTask
com.inductiveautomation.ignition.designer.i18n.workspace.HierarchialTranslationTable.PropBasedExportTask
- All Implemented Interfaces:
- AsyncClientTask
- Enclosing class:
- HierarchialTranslationTable
protected static class HierarchialTranslationTable.PropBasedExportTask
extends HierarchialTranslationTable.AbstractExportTask
- 
Field SummaryFields inherited from class com.inductiveautomation.ignition.designer.i18n.workspace.HierarchialTranslationTable.AbstractExportTaskkeys, locales, pkg
- 
Constructor SummaryConstructorsConstructorDescriptionPropBasedExportTask(String baseDir, String baseFileName, List<Locale> locales, String mode, Collection<String> keys, TranslationPackage pkg) The paths should be one to one with the locales they represent.
- 
Method SummaryModifier and TypeMethodDescriptionprotected Propertiesvoidrun(TaskProgressListener progressListener) The "work" function.booleanThis gives the task a chance to check things and ask questions, like "overwrite?".Methods inherited from class com.inductiveautomation.ignition.designer.i18n.workspace.HierarchialTranslationTable.AbstractExportTaskcanCancel, getTaskTitle, onComplete
- 
Constructor Details- 
PropBasedExportTaskpublic PropBasedExportTask(String baseDir, String baseFileName, List<Locale> locales, String mode, Collection<String> keys, TranslationPackage pkg) The paths should be one to one with the locales they represent. *
 
- 
- 
Method Details- 
validateExportpublic boolean validateExport()Description copied from class:HierarchialTranslationTable.AbstractExportTaskThis gives the task a chance to check things and ask questions, like "overwrite?". If false is returned, export will be canceled.- Overrides:
- validateExportin class- HierarchialTranslationTable.AbstractExportTask
 
- 
buildFor
- 
runDescription copied from interface:AsyncClientTaskThe "work" function. Should update the progressListener of status, and check whether the operation has been canceled, if applicable. Should throw an exception on failure.- Throws:
- Exception
 
 
-