Class PlatformArg
- java.lang.Object
-
- com.facebook.buck.core.rules.platform.PlatformArg
-
- All Implemented Interfaces:
ConstructorArg
,DataTransferObject
,ConfigurationRuleArg
@ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class PlatformArg extends Object
Immutable implementation ofPlatformDescription.AbstractPlatformArg
.Use the builder to create immutable instances:
PlatformArg.builder()
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PlatformArg.Builder
Builds instances of typePlatformArg
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PlatformArg.Builder
builder()
Creates a builder forPlatformArg
.boolean
equals(Object another)
This instance is equal to all instances ofPlatformArg
that have equal attribute values.com.google.common.collect.ImmutableSortedSet<UnconfiguredBuildTarget>
getConstraintValues()
com.google.common.collect.ImmutableSortedSet<UnconfiguredBuildTarget>
getDeps()
String
getName()
Each rule has a nameint
hashCode()
Computes a hash code from attributes:constraintValues
,deps
,name
.String
toString()
Prints the immutable valuePlatformArg
with attribute values.
-
-
-
Method Detail
-
getConstraintValues
public com.google.common.collect.ImmutableSortedSet<UnconfiguredBuildTarget> getConstraintValues()
- Returns:
- The value of the
constraintValues
attribute
-
getDeps
public com.google.common.collect.ImmutableSortedSet<UnconfiguredBuildTarget> getDeps()
- Returns:
- The value of the
deps
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 ofPlatformArg
that have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:constraintValues
,deps
,name
.
-
toString
public String toString()
Prints the immutable valuePlatformArg
with attribute values.
-
builder
public static PlatformArg.Builder builder()
Creates a builder forPlatformArg
.- Returns:
- A new PlatformArg builder
-
-