public abstract class Package extends Object
Package
contains attributes that are applied by default to all TargetNode
s
contained within a build file BuildFileManifest
. A `Package`
contains metadata gathered from `PACKAGE` files of the current directory/package and all parent
directories/packages.Constructor and Description |
---|
Package() |
Modifier and Type | Method and Description |
---|---|
abstract com.google.common.collect.ImmutableSet<VisibilityPattern> |
getVisibilityPatterns() |
abstract com.google.common.collect.ImmutableSet<VisibilityPattern> |
getWithinViewPatterns() |
static Package |
of(com.google.common.collect.ImmutableSet<VisibilityPattern> visibilityPatterns,
com.google.common.collect.ImmutableSet<VisibilityPattern> withinViewPatterns) |
public abstract com.google.common.collect.ImmutableSet<VisibilityPattern> getVisibilityPatterns()
public abstract com.google.common.collect.ImmutableSet<VisibilityPattern> getWithinViewPatterns()
public static Package of(com.google.common.collect.ImmutableSet<VisibilityPattern> visibilityPatterns, com.google.common.collect.ImmutableSet<VisibilityPattern> withinViewPatterns)