@ThreadSafe public class RuleKeyDiagnostics<RULE_KEY,DIAG_KEY> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RuleKeyDiagnostics.Result<RULE_KEY,DIAG_KEY> |
Constructor and Description |
---|
RuleKeyDiagnostics(java.util.function.Function<BuildRule,RuleKeyDiagnostics.Result<RULE_KEY,DIAG_KEY>> ruleResultSupplier,
java.util.function.Function<AddsToRuleKey,RuleKeyDiagnostics.Result<RULE_KEY,DIAG_KEY>> appendableResultSupplier) |
Modifier and Type | Method and Description |
---|---|
static <RULE_KEY,DIAG_KEY> |
nop() |
void |
processRule(BuildRule rule,
java.util.function.Consumer<RuleKeyDiagnostics.Result<RULE_KEY,DIAG_KEY>> resultConsumer)
Computes the diagnostic rulekey data for the given rule and all of its appendables recursively.
|
public RuleKeyDiagnostics(java.util.function.Function<BuildRule,RuleKeyDiagnostics.Result<RULE_KEY,DIAG_KEY>> ruleResultSupplier, java.util.function.Function<AddsToRuleKey,RuleKeyDiagnostics.Result<RULE_KEY,DIAG_KEY>> appendableResultSupplier)
public static <RULE_KEY,DIAG_KEY> RuleKeyDiagnostics<RULE_KEY,DIAG_KEY> nop()
public void processRule(BuildRule rule, java.util.function.Consumer<RuleKeyDiagnostics.Result<RULE_KEY,DIAG_KEY>> resultConsumer)