public static class NumericLabelFilterDescriptor.AttributeBuilder extends Object
NumericLabelFilter
component. You can use this
builder as a type-safe alternative to populating the attribute map using attribute keys.Modifier and Type | Field and Description |
---|---|
Map<String,Object> |
map
The attribute map populated by this builder.
|
Modifier | Constructor and Description |
---|---|
protected |
AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.
|
Modifier and Type | Method and Description |
---|---|
NumericLabelFilterDescriptor.AttributeBuilder |
enabled(boolean value)
Remove numeric labels.
|
NumericLabelFilterDescriptor.AttributeBuilder |
enabled(org.carrot2.util.attribute.IObjectFactory<? extends Boolean> value)
Remove numeric labels.
|
public NumericLabelFilterDescriptor.AttributeBuilder enabled(boolean value)
NumericLabelFilter.enabled
public NumericLabelFilterDescriptor.AttributeBuilder enabled(org.carrot2.util.attribute.IObjectFactory<? extends Boolean> value)
NumericLabelFilter.enabled