public class HaskellPackageRule extends AbstractBuildRuleWithDeclaredAndExtraDeps
| Constructor and Description |
|---|
HaskellPackageRule(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams buildRuleParams,
Tool ghcPkg,
com.facebook.buck.features.haskell.HaskellVersion haskellVersion,
Linker.LinkableDepType depType,
com.facebook.buck.features.haskell.HaskellPackageInfo packageInfo,
com.google.common.collect.ImmutableSortedMap<String,com.facebook.buck.features.haskell.HaskellPackage> depPackages,
com.google.common.collect.ImmutableSortedSet<String> modules,
com.google.common.collect.ImmutableSortedSet<SourcePath> libraries,
com.google.common.collect.ImmutableSortedSet<SourcePath> interfaces,
com.google.common.collect.ImmutableSortedSet<SourcePath> objects) |
| Modifier and Type | Method and Description |
|---|---|
static HaskellPackageRule |
from(BuildTarget target,
ProjectFilesystem projectFilesystem,
BuildRuleParams baseParams,
SourcePathRuleFinder ruleFinder,
Tool ghcPkg,
com.facebook.buck.features.haskell.HaskellVersion haskellVersion,
Linker.LinkableDepType depType,
com.facebook.buck.features.haskell.HaskellPackageInfo packageInfo,
com.google.common.collect.ImmutableSortedMap<String,com.facebook.buck.features.haskell.HaskellPackage> depPackages,
com.google.common.collect.ImmutableSortedSet<String> modules,
com.google.common.collect.ImmutableSortedSet<SourcePath> libraries,
com.google.common.collect.ImmutableSortedSet<SourcePath> interfaces,
com.google.common.collect.ImmutableSortedSet<SourcePath> objects) |
com.google.common.collect.ImmutableList<Step> |
getBuildSteps(BuildContext context,
BuildableContext buildableContext) |
com.facebook.buck.features.haskell.HaskellPackage |
getPackage() |
SourcePath |
getSourcePathToOutput() |
deprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDepsequals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolverclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, getFullyQualifiedName, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecutionpublic HaskellPackageRule(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams buildRuleParams, Tool ghcPkg, com.facebook.buck.features.haskell.HaskellVersion haskellVersion, Linker.LinkableDepType depType, com.facebook.buck.features.haskell.HaskellPackageInfo packageInfo, com.google.common.collect.ImmutableSortedMap<String,com.facebook.buck.features.haskell.HaskellPackage> depPackages, com.google.common.collect.ImmutableSortedSet<String> modules, com.google.common.collect.ImmutableSortedSet<SourcePath> libraries, com.google.common.collect.ImmutableSortedSet<SourcePath> interfaces, com.google.common.collect.ImmutableSortedSet<SourcePath> objects)
public static HaskellPackageRule from(BuildTarget target, ProjectFilesystem projectFilesystem, BuildRuleParams baseParams, SourcePathRuleFinder ruleFinder, Tool ghcPkg, com.facebook.buck.features.haskell.HaskellVersion haskellVersion, Linker.LinkableDepType depType, com.facebook.buck.features.haskell.HaskellPackageInfo packageInfo, com.google.common.collect.ImmutableSortedMap<String,com.facebook.buck.features.haskell.HaskellPackage> depPackages, com.google.common.collect.ImmutableSortedSet<String> modules, com.google.common.collect.ImmutableSortedSet<SourcePath> libraries, com.google.common.collect.ImmutableSortedSet<SourcePath> interfaces, com.google.common.collect.ImmutableSortedSet<SourcePath> objects)
public com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
public SourcePath getSourcePathToOutput()
public com.facebook.buck.features.haskell.HaskellPackage getPackage()