Package de.hybris.ant.taskdefs.migration
Class MigrateCsvConfigurationTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- de.hybris.ant.taskdefs.migration.MigrateCsvConfigurationTask
-
- All Implemented Interfaces:
java.lang.Cloneable
public class MigrateCsvConfigurationTask extends org.apache.tools.ant.TaskCalled as ant task, performs data migration from old import configuration to the new folders structure. Old import configuration is stored in CSV files, separate for two data groups: Media and CockpitUIComponentConfiguration, joined by code column. File is read, data is parsed and put into MigrateCsvRowData objects. Using data from those objects, new folder structure is created in specified location. Xml configuration files are copied from old location to the new one, with new names - according to the naming convention.
-
-
Constructor Summary
Constructors Constructor Description MigrateCsvConfigurationTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()voidsetArgCsvPath(java.lang.String argCsvPath)voidsetArgNewPath(java.lang.String argNewPath)voidsetArgOldPath(java.lang.String argOldPath)voidsetExtName(java.lang.String extName)-
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-
setArgOldPath
public void setArgOldPath(java.lang.String argOldPath)
-
setArgCsvPath
public void setArgCsvPath(java.lang.String argCsvPath)
-
setArgNewPath
public void setArgNewPath(java.lang.String argNewPath)
-
setExtName
public void setExtName(java.lang.String extName)
-
-