Package com.facebook.buck.rules.keys
Class RuleKeyFactories
- java.lang.Object
-
- com.facebook.buck.rules.keys.RuleKeyFactories
-
public abstract class RuleKeyFactories extends Object
The various rule key factories used by the build engine.
-
-
Constructor Summary
Constructors Constructor Description RuleKeyFactories()
-
Method Summary
-
-
-
Method Detail
-
getDefaultRuleKeyFactory
public abstract RuleKeyFactoryWithDiagnostics<RuleKey> getDefaultRuleKeyFactory()
- Returns:
- a
RuleKeyFactory
that producesRuleKey
s.
-
getInputBasedRuleKeyFactory
public abstract RuleKeyFactory<RuleKey> getInputBasedRuleKeyFactory()
- Returns:
- a
RuleKeyFactory
that produces input-basedRuleKey
s.
-
getDepFileRuleKeyFactory
public abstract DependencyFileRuleKeyFactory getDepFileRuleKeyFactory()
- Returns:
- a
DependencyFileRuleKeyFactory
that produces dep-file-basedRuleKey
s.
-
of
public static RuleKeyFactories of(RuleKeyConfiguration ruleKeyConfiguration, FileHashLoader fileHashLoader, BuildRuleResolver resolver, long inputRuleKeyFileSizeLimit, TrackedRuleKeyCache<RuleKey> defaultRuleKeyFactoryCache)
-
of
public static RuleKeyFactories of(RuleKeyConfiguration ruleKeyConfiguration, FileHashLoader fileHashLoader, BuildRuleResolver resolver, long inputRuleKeyFileSizeLimit, TrackedRuleKeyCache<RuleKey> defaultRuleKeyFactoryCache, Optional<ThriftRuleKeyLogger> ruleKeyLogger)
-
of
public static RuleKeyFactories of(RuleKeyFactoryWithDiagnostics<RuleKey> defaultRuleKeyFactory, RuleKeyFactory<RuleKey> inputBasedRuleKeyFactory, DependencyFileRuleKeyFactory depFileRuleKeyFactory)
-
calculateManifestKey
public Optional<DependencyFileRuleKeyFactory.RuleKeyAndInputs> calculateManifestKey(SupportsDependencyFileRuleKey rule, BuckEventBus eventBus) throws IOException
- Throws:
IOException
-
-