Class AndroidPlatformArg
- java.lang.Object
-
- com.facebook.buck.android.toolchain.platform.AndroidPlatformArg
-
- All Implemented Interfaces:
ConstructorArg
,DataTransferObject
,ConfigurationRuleArg
@ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class AndroidPlatformArg extends Object
Immutable implementation ofAndroidPlatformDescription.AbstractAndroidPlatformArg
.Use the builder to create immutable instances:
AndroidPlatformArg.builder()
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AndroidPlatformArg.Builder
Builds instances of typeAndroidPlatformArg
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidPlatformArg.Builder
builder()
Creates a builder forAndroidPlatformArg
.boolean
equals(Object another)
This instance is equal to all instances ofAndroidPlatformArg
that have equal attribute values.UnconfiguredBuildTarget
getBasePlatform()
String
getName()
Each rule has a namecom.google.common.collect.ImmutableSortedMap<TargetCpuType,UnconfiguredBuildTarget>
getNativePlatforms()
int
hashCode()
Computes a hash code from attributes:basePlatform
,nativePlatforms
,name
.String
toString()
Prints the immutable valueAndroidPlatformArg
with attribute values.
-
-
-
Method Detail
-
getBasePlatform
public UnconfiguredBuildTarget getBasePlatform()
- Returns:
- The value of the
basePlatform
attribute
-
getNativePlatforms
public com.google.common.collect.ImmutableSortedMap<TargetCpuType,UnconfiguredBuildTarget> getNativePlatforms()
- Returns:
- The value of the
nativePlatforms
attribute
-
getName
public String getName()
Each rule has a name- Specified by:
getName
in interfaceConstructorArg
-
equals
public boolean equals(@Nullable Object another)
This instance is equal to all instances ofAndroidPlatformArg
that have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:basePlatform
,nativePlatforms
,name
.
-
toString
public String toString()
Prints the immutable valueAndroidPlatformArg
with attribute values.
-
builder
public static AndroidPlatformArg.Builder builder()
Creates a builder forAndroidPlatformArg
.- Returns:
- A new AndroidPlatformArg builder
-
-