Class FSComponentRepositoryHelper<DB extends FSComponentExtRepositoryDB<? extends FSCRDBComponent>>

java.lang.Object
com.zfabrik.components.provider.util.FSComponentRepositoryHelper<DB>

public class FSComponentRepositoryHelper<DB extends FSComponentExtRepositoryDB<? extends FSCRDBComponent>> extends Object
General repo implementation helper class. Can be forced to purge repo cache on init by setting the system prop com.zfabrik.cr.purge
Author:
hb
  • Field Details

  • Constructor Details

    • FSComponentRepositoryHelper

      public FSComponentRepositoryHelper(Class<DB> clz, File root)
      Compatibility constructor with empty check properties.
    • FSComponentRepositoryHelper

      public FSComponentRepositoryHelper(Class<DB> clz, File root, Properties checkProps)
      Initialize a repo helper with a specific DB class, a local store folder and a set of check props that are to be found again to validate the repository storage. If the latter check fails, local repository content will be evicted.
  • Method Details