Package com.facebook.buck.rules.keys
Class DefaultRuleKeyFactory.Builder<RULE_KEY>
- java.lang.Object
-
- com.facebook.buck.rules.keys.AbstractRuleKeyBuilder<RULE_KEY>
-
- com.facebook.buck.rules.keys.RuleKeyBuilder<RULE_KEY>
-
- com.facebook.buck.rules.keys.DefaultRuleKeyFactory.Builder<RULE_KEY>
-
- Enclosing class:
- DefaultRuleKeyFactory
public class DefaultRuleKeyFactory.Builder<RULE_KEY> extends RuleKeyBuilder<RULE_KEY>
-
-
Constructor Summary
Constructors Constructor Description Builder(RuleKeyHasher<RULE_KEY> hasher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class com.facebook.buck.rules.keys.RuleKeyBuilder
build, setPath, setPath, setSingleValue
-
Methods inherited from class com.facebook.buck.rules.keys.AbstractRuleKeyBuilder
build, setReflectively, setReflectively, setReflectivelyPathKey
-
-
-
-
Constructor Detail
-
Builder
public Builder(RuleKeyHasher<RULE_KEY> hasher)
-
-
Method Detail
-
setAction
protected AbstractRuleKeyBuilder<RULE_KEY> setAction(Action action)
- Specified by:
setAction
in classAbstractRuleKeyBuilder<RULE_KEY>
-
setBuildRule
protected RuleKeyBuilder<RULE_KEY> setBuildRule(BuildRule rule)
- Specified by:
setBuildRule
in classAbstractRuleKeyBuilder<RULE_KEY>
-
setAddsToRuleKey
protected RuleKeyBuilder<RULE_KEY> setAddsToRuleKey(AddsToRuleKey appendable)
- Specified by:
setAddsToRuleKey
in classAbstractRuleKeyBuilder<RULE_KEY>
-
setSourcePath
protected RuleKeyBuilder<RULE_KEY> setSourcePath(SourcePath sourcePath) throws IOException
- Specified by:
setSourcePath
in classAbstractRuleKeyBuilder<RULE_KEY>
- Throws:
IOException
-
setNonHashingSourcePath
protected RuleKeyBuilder<RULE_KEY> setNonHashingSourcePath(SourcePath sourcePath)
- Specified by:
setNonHashingSourcePath
in classAbstractRuleKeyBuilder<RULE_KEY>
-
buildResult
public <RESULT> RuleKeyResult<RESULT> buildResult(java.util.function.Function<RULE_KEY,RESULT> mapper)
-
-