public class Zip extends ModernBuildRule<Zip> implements HasOutputName, Buildable
Constructor and Description |
---|
Zip(SourcePathRuleFinder ruleFinder,
BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
String outputName,
com.google.common.collect.ImmutableSet<SourcePath> sources,
com.google.common.collect.ImmutableList<SourcePath> zipSources,
com.google.common.collect.ImmutableSet<Pattern> entriesToExclude,
OnDuplicateEntry onDuplicateEntry) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<Step> |
getBuildSteps(BuildContext buildContext,
ProjectFilesystem filesystem,
OutputPathResolver outputPathResolver,
BuildCellRelativePathFactory buildCellPathFactory) |
String |
getOutputName(OutputLabel outputLabel)
Returns an output name for the build target associated with the given output label.
|
SourcePath |
getSourcePathToOutput() |
compareTo, getBuildable, getBuildCellPathFactory, getBuildDeps, getBuildSteps, getOutputPathResolver, getSetupStepsForBuildable, getSourcePath, getSourcePaths, injectFieldsIfNecessary, inputBasedRuleKeyIsEnabled, recordOutputs, recordOutputs, recordOutputs, stepsForBuildable, stepsForBuildable, updateBuildRuleResolver
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isSupported
getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString
getDependencies, getSourcePathOutputs
getType
public Zip(SourcePathRuleFinder ruleFinder, BuildTarget buildTarget, ProjectFilesystem projectFilesystem, String outputName, com.google.common.collect.ImmutableSet<SourcePath> sources, com.google.common.collect.ImmutableList<SourcePath> zipSources, com.google.common.collect.ImmutableSet<Pattern> entriesToExclude, OnDuplicateEntry onDuplicateEntry)
public com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext buildContext, ProjectFilesystem filesystem, OutputPathResolver outputPathResolver, BuildCellRelativePathFactory buildCellPathFactory)
getBuildSteps
in interface Buildable
public SourcePath getSourcePathToOutput()
getSourcePathToOutput
in interface BuildRule
getSourcePathToOutput
in class ModernBuildRule<Zip>
public String getOutputName(OutputLabel outputLabel)
HasOutputName
getOutputName
in interface HasOutputName