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, updateBuildRuleResolverequals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisSupportedgetBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toStringgetDependencies, getSourcePathOutputsgetTypepublic 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 Buildablepublic SourcePath getSourcePathToOutput()
getSourcePathToOutput in interface BuildRulegetSourcePathToOutput in class ModernBuildRule<Zip>public String getOutputName(OutputLabel outputLabel)
HasOutputNamegetOutputName in interface HasOutputName