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 Summary- 
Fields inherited from class com.inductiveautomation.ignition.designer.i18n.workspace.HierarchialTranslationTable.AbstractExportTaskkeys, locales, pkg
 
- 
 - 
Constructor SummaryConstructors Constructor Description PropBasedExportTask(java.lang.String baseDir, java.lang.String baseFileName, java.util.List<java.util.Locale> locales, java.lang.String mode, java.util.Collection<java.lang.String> keys, TranslationPackage pkg)The paths should be one to one with the locales they represent.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.PropertiesbuildFor(java.util.Locale l)voidrun(TaskProgressListener progressListener)The "work" function.booleanvalidateExport()This 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 Detail- 
PropBasedExportTaskpublic PropBasedExportTask(java.lang.String baseDir, java.lang.String baseFileName, java.util.List<java.util.Locale> locales, java.lang.String mode, java.util.Collection<java.lang.String> keys, TranslationPackage pkg)The paths should be one to one with the locales they represent. *
 
- 
 - 
Method Detail- 
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
 
 - 
buildForprotected java.util.Properties buildFor(java.util.Locale l) 
 - 
runpublic void run(TaskProgressListener progressListener) throws java.lang.Exception Description 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:
- java.lang.Exception
 
 
- 
 
-