public class CalculateClassAbi extends ModernBuildRule<com.facebook.buck.jvm.java.CalculateClassAbi.Impl> implements CalculateAbi, InitializableFromDisk<Object>
Constructor and Description |
---|
CalculateClassAbi(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
SourcePathRuleFinder ruleFinder,
SourcePath binaryJar,
AbiGenerationMode compatibilityMode) |
Modifier and Type | Method and Description |
---|---|
JavaAbiInfo |
getAbiInfo() |
BuildOutputInitializer<Object> |
getBuildOutputInitializer() |
SourcePath |
getSourcePathToOutput() |
Object |
initializeFromDisk(SourcePathResolverAdapter pathResolver) |
void |
invalidateInitializeFromDiskState() |
static CalculateClassAbi |
of(BuildTarget target,
SourcePathRuleFinder ruleFinder,
ProjectFilesystem projectFilesystem,
SourcePath library) |
static CalculateClassAbi |
of(BuildTarget target,
SourcePathRuleFinder ruleFinder,
ProjectFilesystem projectFilesystem,
SourcePath library,
AbiGenerationMode compatibilityMode) |
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
getAbiJar
getSourceOnlyAbiJar
isSupported
getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString
getDependencies, getSourcePathOutputs
getType
public CalculateClassAbi(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, SourcePathRuleFinder ruleFinder, SourcePath binaryJar, AbiGenerationMode compatibilityMode)
public static CalculateClassAbi of(BuildTarget target, SourcePathRuleFinder ruleFinder, ProjectFilesystem projectFilesystem, SourcePath library)
public static CalculateClassAbi of(BuildTarget target, SourcePathRuleFinder ruleFinder, ProjectFilesystem projectFilesystem, SourcePath library, AbiGenerationMode compatibilityMode)
public SourcePath getSourcePathToOutput()
getSourcePathToOutput
in interface BuildRule
getSourcePathToOutput
in class ModernBuildRule<com.facebook.buck.jvm.java.CalculateClassAbi.Impl>
public JavaAbiInfo getAbiInfo()
getAbiInfo
in interface HasJavaAbi
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>