public class FeatureObject
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
FeatureObject.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
FeatureObject() |
FeatureObject(java.lang.Boolean enabled,
java.lang.String feature) |
Modifier and Type | Method and Description |
---|---|
FeatureObject.Builder |
asBuilder() |
static FeatureObject.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
getEnabled()
True if the feature is enabled, otherwise false.
|
java.lang.String |
getFeature()
The name of the feature.
|
int |
hashCode() |
void |
setEnabled(java.lang.Boolean enabled) |
void |
setFeature(java.lang.String feature) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
public java.lang.Boolean getEnabled()
public void setEnabled(java.lang.Boolean enabled)
public java.lang.String getFeature()
public void setFeature(java.lang.String feature)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static FeatureObject.Builder builder()
public final FeatureObject.Builder asBuilder()