public class CompareAbis extends AbstractBuildRuleWithDeclaredAndExtraDeps implements SupportsInputBasedRuleKey, CalculateAbi, InitializableFromDisk<Object>
Constructor and Description |
---|
CompareAbis(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
SourcePath correctAbi,
SourcePath experimentalAbi,
JavaBuckConfig.SourceAbiVerificationMode verificationMode) |
Modifier and Type | Method and Description |
---|---|
JavaAbiInfo |
getAbiInfo() |
BuildOutputInitializer<Object> |
getBuildOutputInitializer() |
com.google.common.collect.ImmutableList<Step> |
getBuildSteps(BuildContext context,
BuildableContext buildableContext) |
SourcePath |
getSourcePathToOutput() |
Object |
initializeFromDisk(SourcePathResolverAdapter pathResolver) |
void |
invalidateInitializeFromDiskState() |
deprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDeps
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolver
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
inputBasedRuleKeyIsEnabled, isSupported
compareTo, getBuildDeps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolver
getDependencies, getSourcePathOutputs
getType
getAbiJar
getSourceOnlyAbiJar
public CompareAbis(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, SourcePath correctAbi, SourcePath experimentalAbi, JavaBuckConfig.SourceAbiVerificationMode verificationMode)
public com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
getBuildSteps
in interface BuildRule
@Nullable public SourcePath getSourcePathToOutput()
getSourcePathToOutput
in interface BuildRule
public void invalidateInitializeFromDiskState()
invalidateInitializeFromDiskState
in interface InitializableFromDisk<Object>
public Object initializeFromDisk(SourcePathResolverAdapter pathResolver) throws IOException
initializeFromDisk
in interface InitializableFromDisk<Object>
IOException
public BuildOutputInitializer<Object> getBuildOutputInitializer()
getBuildOutputInitializer
in interface InitializableFromDisk<Object>
public JavaAbiInfo getAbiInfo()
getAbiInfo
in interface HasJavaAbi