public interface Stuffable
Stuffablemay have a no-arg constructor that does nothing, to be immediately followed by
init(org.baseparadigm.i.Stuffed)which will do the actual initialization. Some structures may reference other structures whose data is not represented in their
CaMapfor instance); it is valuable for these to implement Stuffable.
|Modifier and Type||Interface and Description|
thrown when a
void init(Stuffed stuffed)
Stuffedis the same as was returned from
stuff(org.baseparadigm.resolution.Repo, org.baseparadigm.i.CidScheme)this should be guaranteed to work.
Stuffable.InitProblem- when it doesn't work.
Stuffedhelped by resolving the Stuffable's unresolved ContentIds using the given
Repo. All content from the Stuffable should be accessible in the Stuffed. stuff(Repo, CidScheme) may be an asynchronous operation as VirtualRepos may be backed by a stream; this could help newStuffable.init(stuffableItem.stuff(repo)) complete faster.