public static class PassthroughClusteringAlgorithmDescriptor.AttributeBuilder extends Object
PassthroughClusteringAlgorithm 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 |
PassthroughClusteringAlgorithmDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.
|
| Modifier and Type | Method and Description |
|---|---|
List<Cluster> |
clusters()
Any clusters already provided by the predecessor components.
|
PassthroughClusteringAlgorithmDescriptor.AttributeBuilder |
clusters(org.carrot2.util.attribute.IObjectFactory<? extends List<Cluster>> value)
Any clusters already provided by the predecessor components.
|
PassthroughClusteringAlgorithmDescriptor.AttributeBuilder |
clusters(List<Cluster> value)
Any clusters already provided by the predecessor components.
|
public PassthroughClusteringAlgorithmDescriptor.AttributeBuilder clusters(List<Cluster> value)
public PassthroughClusteringAlgorithmDescriptor.AttributeBuilder clusters(org.carrot2.util.attribute.IObjectFactory<? extends List<Cluster>> value)