public interface InitializableFromDisk<T>
isRuleBuilt()
returns true
.
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 BuildOutputInitializer.getBuildOutput()
.
Modifier and Type | Method and Description |
---|---|
BuildOutputInitializer<T> |
getBuildOutputInitializer() |
T |
initializeFromDisk(SourcePathResolverAdapter pathResolver) |
default void |
invalidateInitializeFromDiskState() |
T initializeFromDisk(SourcePathResolverAdapter pathResolver) throws IOException
IOException
BuildOutputInitializer<T> getBuildOutputInitializer()
default void invalidateInitializeFromDiskState()