- All Known Implementing Classes:
public interface InitializableFromDisk<T>Object that has in-memory data structures that need to be populated as a result of executing its steps. An object that implements this interface will always have its internal data structures initialized through this interface, regardless of whether it was built locally or read from cache. This ensures that a rule is always in the same state once
Objects that implement this interface should create getter methods that delegate to
BuildOutputInitializer.getBuildOutput()to access the in-memory data structures rather than have clients invoke
BuildOutputInitializer.getBuildOutput()directly. This ensures that all getters go through any protections provided by
T initializeFromDisk(SourcePathResolverAdapter pathResolver) throws IOException
- an object that has the in-memory data structures that need to be populated as a result of executing this object's steps.
default void invalidateInitializeFromDiskState()