Class EssentialDataFile

java.lang.Object
de.hybris.platform.integrationservices.util.impex.EssentialDataFile

public abstract class EssentialDataFile extends Object
Essential data in a separate impex file that is present on the application classpath.
  • Field Details

    • filePath

      protected final String filePath
  • Constructor Details

    • EssentialDataFile

      protected EssentialDataFile(@Nonnull String path)
      Instantiates this essential data file
      Parameters:
      path - a path to the impex file resource on the application classpath
  • Method Details

    • loadData

      public void loadData()
      Loads data present in this essential data file into the system.
      Throws:
      RuntimeException - if import of the data failed.
    • cleanData

      public abstract void cleanData()
      Deletes all data loaded into the system from this file
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object