Tabnine Logo
FilesystemConfig.getModifiedSince
Code IndexAdd Tabnine to your IDE (free)

How to use
getModifiedSince
method
in
com.emc.ecs.sync.config.storage.FilesystemConfig

Best Java code snippets using com.emc.ecs.sync.config.storage.FilesystemConfig.getModifiedSince (Showing top 2 results out of 315)

origin: EMCECS/ecs-sync

@Override
public void configure(SyncStorage source, Iterator<SyncFilter> filters, SyncStorage target) {
  super.configure(source, filters, target);
  File rootFile = createFile(config.getPath());
  if (source == this) {
    if (!rootFile.exists())
      throw new ConfigurationException("the source " + rootFile + " does not exist");
    if (config.getModifiedSince() != null) {
      modifiedSince = Iso8601Util.parse(config.getModifiedSince());
      if (modifiedSince == null) throw new ConfigurationException("could not parse modified-since");
    }
    if (config.getDeleteCheckScript() != null) {
      File deleteCheckScript = new File(config.getDeleteCheckScript());
      if (!deleteCheckScript.exists())
        throw new ConfigurationException("delete check script " + deleteCheckScript + " does not exist");
    }
    if (config.getExcludedPaths() != null) {
      excludedPathPatterns = new ArrayList<>();
      for (String pattern : config.getExcludedPaths()) {
        excludedPathPatterns.add(Pattern.compile(pattern));
      }
    }
  }
}
origin: EMCECS/ecs-sync

Assert.assertEquals(object.getDeleteOlderThan(), xObject.getDeleteOlderThan());
Assert.assertEquals(object.getDeleteCheckScript(), xObject.getDeleteCheckScript());
Assert.assertEquals(object.getModifiedSince(), xObject.getModifiedSince());
Assert.assertArrayEquals(object.getExcludedPaths(), xObject.getExcludedPaths());
com.emc.ecs.sync.config.storageFilesystemConfiggetModifiedSince

Popular methods of FilesystemConfig

  • <init>
  • getPath
  • isUseAbsolutePath
  • setPath
  • getDeleteCheckScript
  • getDeleteOlderThan
  • getExcludedPaths
  • isFollowLinks
  • isIncludeBaseDir
  • setExcludedPaths
  • setModifiedSince
    Date/time should be provided in ISO-8601 UTC format (i.e. 2015-01-01T04:30:00Z)
  • setStoreMetadata
  • setModifiedSince,
  • setStoreMetadata,
  • isStoreMetadata,
  • setDeleteCheckScript,
  • setDeleteOlderThan,
  • setFollowLinks,
  • setUseAbsolutePath

Popular in Java

  • Creating JSON documents from java classes using gson
  • requestLocationUpdates (LocationManager)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setScale (BigDecimal)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • JLabel (javax.swing)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now