Package com.facebook.buck.android
Class AndroidAppModularityDescriptionArg
- java.lang.Object
-
- com.facebook.buck.android.AndroidAppModularityDescriptionArg
-
- All Implemented Interfaces:
BuildRuleArg
,ConstructorArg
,DataTransferObject
,HasApplicationModuleBlacklist
,HasDeclaredDeps
@ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class AndroidAppModularityDescriptionArg extends Object
Immutable implementation ofAndroidAppModularityDescription.AbstractAndroidAppModularityDescriptionArg
.Use the builder to create immutable instances:
AndroidAppModularityDescriptionArg.builder()
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AndroidAppModularityDescriptionArg.Builder
Builds instances of typeAndroidAppModularityDescriptionArg
.
-
Field Summary
-
Fields inherited from interface com.facebook.buck.core.description.arg.BuildRuleArg
DEFAULT_TARGET_PLATFORM_PARAM_NAME
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Default Methods Modifier and Type Method Description static AndroidAppModularityDescriptionArg.Builder
builder()
Creates a builder forAndroidAppModularityDescriptionArg
.boolean
equals(Object another)
This instance is equal to all instances ofAndroidAppModularityDescriptionArg
that have equal attribute values.Optional<List<Query>>
getApplicationModuleBlacklist()
com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableList<BuildTarget>>
getApplicationModuleConfigs()
Optional<com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableList<String>>>
getApplicationModuleDependencies()
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget>
getCompatibleWith()
A list ofconfig_setting
a target is compatible with.Optional<UnconfiguredBuildTarget>
getDefaultTargetPlatform()
The name of build target default "new" platform: it is used when a platform is not specified either globally or in a target which used this target as a dependency.com.google.common.collect.ImmutableSortedSet<BuildTarget>
getDeps()
com.google.common.collect.ImmutableSortedSet<String>
getLabels()
com.google.common.collect.ImmutableSet<SourcePath>
getLicenses()
String
getName()
Each rule has a namecom.google.common.collect.ImmutableSet<BuildTarget>
getNoDx()
boolean
getShouldIncludeClasses()
boolean
getShouldIncludeLibraries()
int
hashCode()
Computes a hash code from attributes:applicationModuleConfigs
,applicationModuleDependencies
,noDx
,shouldIncludeClasses
,shouldIncludeLibraries
,licenses
,labels
,defaultTargetPlatform
,compatibleWith
,name
,deps
,applicationModuleBlacklist
.String
toString()
Prints the immutable valueAndroidAppModularityDescriptionArg
with attribute values.default AndroidAppModularityDescriptionArg
withApplicationModuleBlacklist(List<Query> queries)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.facebook.buck.core.description.arg.BuildRuleArg
labelsContainsAnyOf
-
-
-
-
Method Detail
-
getApplicationModuleConfigs
public com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableList<BuildTarget>> getApplicationModuleConfigs()
- Returns:
- The value of the
applicationModuleConfigs
attribute
-
getApplicationModuleDependencies
public Optional<com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableList<String>>> getApplicationModuleDependencies()
- Returns:
- The value of the
applicationModuleDependencies
attribute
-
getNoDx
public com.google.common.collect.ImmutableSet<BuildTarget> getNoDx()
- Returns:
- The value of the
noDx
attribute
-
getShouldIncludeClasses
public boolean getShouldIncludeClasses()
- Returns:
- The value of the
shouldIncludeClasses
attribute
-
getShouldIncludeLibraries
public boolean getShouldIncludeLibraries()
- Returns:
- The value of the
shouldIncludeLibraries
attribute
-
getLicenses
public com.google.common.collect.ImmutableSet<SourcePath> getLicenses()
- Specified by:
getLicenses
in interfaceBuildRuleArg
- Returns:
- The value of the
licenses
attribute
-
getLabels
public com.google.common.collect.ImmutableSortedSet<String> getLabels()
- Specified by:
getLabels
in interfaceBuildRuleArg
- Returns:
- The value of the
labels
attribute
-
getDefaultTargetPlatform
public Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
The name of build target default "new" platform: it is used when a platform is not specified either globally or in a target which used this target as a dependency.The value is a build target, but we specify it as string, because this function is not actually called, but the attr is fetched by name from the raw (unconfigured) target node.
- Specified by:
getDefaultTargetPlatform
in interfaceBuildRuleArg
-
getCompatibleWith
public com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> getCompatibleWith()
A list ofconfig_setting
a target is compatible with.- Specified by:
getCompatibleWith
in interfaceBuildRuleArg
-
getName
public String getName()
Each rule has a name- Specified by:
getName
in interfaceConstructorArg
-
getDeps
public com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
- Specified by:
getDeps
in interfaceHasDeclaredDeps
- Returns:
- The value of the
deps
attribute
-
getApplicationModuleBlacklist
public Optional<List<Query>> getApplicationModuleBlacklist()
- Specified by:
getApplicationModuleBlacklist
in interfaceHasApplicationModuleBlacklist
- Returns:
- The value of the
applicationModuleBlacklist
attribute
-
equals
public boolean equals(@Nullable Object another)
This instance is equal to all instances ofAndroidAppModularityDescriptionArg
that have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:applicationModuleConfigs
,applicationModuleDependencies
,noDx
,shouldIncludeClasses
,shouldIncludeLibraries
,licenses
,labels
,defaultTargetPlatform
,compatibleWith
,name
,deps
,applicationModuleBlacklist
.
-
toString
public String toString()
Prints the immutable valueAndroidAppModularityDescriptionArg
with attribute values.
-
builder
public static AndroidAppModularityDescriptionArg.Builder builder()
Creates a builder forAndroidAppModularityDescriptionArg
.- Returns:
- A new AndroidAppModularityDescriptionArg builder
-
withApplicationModuleBlacklist
public default AndroidAppModularityDescriptionArg withApplicationModuleBlacklist(List<Query> queries)
- Specified by:
withApplicationModuleBlacklist
in interfaceHasApplicationModuleBlacklist
-
-