public abstract class PythonPackageComponents extends Object implements AddsToRuleKey
Modifier and Type | Class and Description |
---|---|
static class |
PythonPackageComponents.Builder
A helper class to construct a PythonPackageComponents instance which throws human readable
error messages on duplicates.
|
Constructor and Description |
---|
PythonPackageComponents() |
Modifier and Type | Method and Description |
---|---|
Symlinks |
asSymlinks() |
void |
forEachInput(java.util.function.Consumer<SourcePath> consumer) |
abstract Optional<SourcePath> |
getDefaultInitPy() |
com.google.common.collect.ImmutableCollection<BuildRule> |
getDeps(SourcePathRuleFinder ruleFinder) |
abstract com.google.common.collect.ImmutableListMultimap<BuildTarget,PythonComponents> |
getModules() |
abstract com.google.common.collect.ImmutableListMultimap<BuildTarget,PythonComponents> |
getNativeLibraries() |
abstract com.google.common.collect.ImmutableListMultimap<BuildTarget,PythonComponents> |
getResources() |
abstract Optional<Boolean> |
isZipSafe() |
com.facebook.buck.features.python.PythonResolvedPackageComponents |
resolve(SourcePathResolverAdapter resolver) |
PythonPackageComponents |
withDefaultInitPy(SourcePath emptyInit) |
public abstract com.google.common.collect.ImmutableListMultimap<BuildTarget,PythonComponents> getModules()
public abstract com.google.common.collect.ImmutableListMultimap<BuildTarget,PythonComponents> getResources()
public abstract com.google.common.collect.ImmutableListMultimap<BuildTarget,PythonComponents> getNativeLibraries()
public abstract Optional<SourcePath> getDefaultInitPy()
public void forEachInput(java.util.function.Consumer<SourcePath> consumer)
public com.google.common.collect.ImmutableCollection<BuildRule> getDeps(SourcePathRuleFinder ruleFinder)
public com.facebook.buck.features.python.PythonResolvedPackageComponents resolve(SourcePathResolverAdapter resolver)
public Symlinks asSymlinks()
public PythonPackageComponents withDefaultInitPy(@Nullable SourcePath emptyInit)