public class DefaultRuleKeyFactory.Builder<RULE_KEY> extends RuleKeyBuilder<RULE_KEY>
Constructor and Description |
---|
Builder(RuleKeyHasher<RULE_KEY> hasher) |
Modifier and Type | Method and Description |
---|---|
<RESULT> RuleKeyResult<RESULT> |
buildResult(java.util.function.Function<RULE_KEY,RESULT> mapper) |
protected AbstractRuleKeyBuilder<RULE_KEY> |
setAction(Action action) |
protected RuleKeyBuilder<RULE_KEY> |
setAddsToRuleKey(AddsToRuleKey appendable) |
protected RuleKeyBuilder<RULE_KEY> |
setBuildRule(BuildRule rule) |
protected RuleKeyBuilder<RULE_KEY> |
setNonHashingSourcePath(SourcePath sourcePath) |
protected RuleKeyBuilder<RULE_KEY> |
setSourcePath(SourcePath sourcePath) |
build, setPath, setPath, setSingleValue
build, setReflectively, setReflectively, setReflectivelyPathKey
public Builder(RuleKeyHasher<RULE_KEY> hasher)
protected AbstractRuleKeyBuilder<RULE_KEY> setAction(Action action)
setAction
in class AbstractRuleKeyBuilder<RULE_KEY>
protected RuleKeyBuilder<RULE_KEY> setBuildRule(BuildRule rule)
setBuildRule
in class AbstractRuleKeyBuilder<RULE_KEY>
protected RuleKeyBuilder<RULE_KEY> setAddsToRuleKey(AddsToRuleKey appendable)
setAddsToRuleKey
in class AbstractRuleKeyBuilder<RULE_KEY>
protected RuleKeyBuilder<RULE_KEY> setSourcePath(SourcePath sourcePath) throws IOException
setSourcePath
in class AbstractRuleKeyBuilder<RULE_KEY>
IOException
protected RuleKeyBuilder<RULE_KEY> setNonHashingSourcePath(SourcePath sourcePath)
setNonHashingSourcePath
in class AbstractRuleKeyBuilder<RULE_KEY>
public <RESULT> RuleKeyResult<RESULT> buildResult(java.util.function.Function<RULE_KEY,RESULT> mapper)