Package ome.formats.importer.exclusions
Class ClientPathExclusion
- java.lang.Object
-
- ome.formats.importer.exclusions.AbstractFileExclusion
-
- ome.formats.importer.exclusions.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ome.formats.importer.exclusions.AbstractFileExclusion
AbstractFileExclusion.Exclusion
-
-
Constructor Summary
Constructors Constructor Description ClientPathExclusion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
suggestExclusion(ServiceFactoryPrx factory, ImportContainer container)
-
Methods inherited from class ome.formats.importer.exclusions.AbstractFileExclusion
checksum, createExclusion
-
-
-
-
Method Detail
-
suggestExclusion
public java.lang.Boolean suggestExclusion(ServiceFactoryPrx factory, ImportContainer container) throws ServerError
Description copied from interface:FileExclusion
Given the currentsession
attempt to discover if the givencontainer
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
-
-