Interface ObjectFileReader<T>

All Known Subinterfaces:
FileWithVersionsIO<T>
All Known Implementing Classes:
Bpmn2FileParserImpl, ComponentIOComponent, ComponentOverrideIOComponent, PageIOComponent, WebbpmProcessFileAdapter

public interface ObjectFileReader<T>
Reader for objects that, unlike objects read by FileReader, may require reading other object or various project metadata, such as components, scripts etc. For this reason, implementations of this interface can't be used in some places, e.g. in indexing components
Author:
kozlova
  • Method Details

    • accept

      boolean accept(Path path)
    • read

      T read(Path path)
    • readIfValid

      default Optional<T> readIfValid(Path path)