Class LedgerContentAnswers
java.lang.Object
com.ultikits.ultitools.bootstrap.LedgerContentAnswers
Immutable, precomputed lookup so pending changes can query under their lock without disk I/O.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Comparator<String> private final Map<String, ModuleContent> private final Map<String, ModuleContent> private static final ModuleContentprivate final ModuleContent -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateLedgerContentAnswers(Map<String, ModuleContent> exact, Map<String, ModuleContent> fallback, boolean unreadable) -
Method Summary
Modifier and TypeMethodDescriptionprivate static ModuleContentanswer(String module, ContributionLedger.Row row, Logger logger) (package private) static ModuleContent(package private) static LedgerContentAnswersbuild(Map<String, ContributionLedger.Row> rows, Set<String> successful, boolean unreadable, Logger logger) (package private) ModuleContentprivate static int
-
Field Details
-
UNKNOWN
-
PRIORITY
-
CANONICAL
-
exact
-
fallback
-
unrecorded
-
-
Constructor Details
-
LedgerContentAnswers
private LedgerContentAnswers(Map<String, ModuleContent> exact, Map<String, ModuleContent> fallback, boolean unreadable)
-
-
Method Details
-
build
static LedgerContentAnswers build(Map<String, ContributionLedger.Row> rows, Set<String> successful, boolean unreadable, Logger logger) -
contentOf
-
answer
-
bounded
-
priority
-