Class ClientPathExclusion

  • All Implemented Interfaces:
    FileExclusion

    public class ClientPathExclusion
    extends AbstractFileExclusion
    Voter which checks the original filepath from the client (FilesetEntry.getClientPath()) for existence. This check is most useful for imports from large, well-structured data directories where continuously re-trying a number of imports is needed. The checksum for the target file are not checked, meaning that modifications to the file will not trigger a re-import.
    Since:
    5.2
    • Constructor Detail

      • ClientPathExclusion

        public ClientPathExclusion()
    • Method Detail

      • suggestExclusion

        public java.lang.Boolean suggestExclusion​(ServiceFactoryPrx factory,
                                                  ImportContainer container)
                                           throws ServerError
        Description copied from interface: FileExclusion
        Given the current session attempt to discover if the given container should be skipped, i.e. not imported.
        Returns:
        null if no suggestion is being made. false if this implementation suggests skipping the given container, otherwise true.
        Throws:
        ServerError