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