@Generated(value="Generated from org.carrot2.clustering.synthetic.PassthroughClusteringAlgorithm") public final class PassthroughClusteringAlgorithmDescriptor extends Object implements org.carrot2.util.attribute.IBindableDescriptor
PassthroughClusteringAlgorithm component. You can use
this descriptor to obtain metadata, such as human readable name and description, about the component
as a whole as well as about its attributes. Using the attributeBuilder(Map)
you can obtain a builder for type-safe generation of the attribute maps. Please see the
main overview for a complete code example.| Modifier and Type | Class and Description |
|---|---|
static class |
PassthroughClusteringAlgorithmDescriptor.AttributeBuilder
Attribute map builder for the
PassthroughClusteringAlgorithm component. |
static class |
PassthroughClusteringAlgorithmDescriptor.Attributes
All attributes of the
PassthroughClusteringAlgorithm component. |
static class |
PassthroughClusteringAlgorithmDescriptor.Keys
Constants for all attribute keys of the
PassthroughClusteringAlgorithm component. |
| Modifier and Type | Field and Description |
|---|---|
static PassthroughClusteringAlgorithmDescriptor.Attributes |
attributes
Attributes of the component.
|
String |
bindableClassName
The component class for which this descriptor was generated.
|
String |
description
A longer, possibly multi sentence, description of the component.
|
String |
label
A short label for the component.
|
String |
prefix
Attribute prefix used by the component.
|
String |
title
A one sentence summary of the component.
|
| Constructor and Description |
|---|
PassthroughClusteringAlgorithmDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
static PassthroughClusteringAlgorithmDescriptor.AttributeBuilder |
attributeBuilder(Map<String,Object> attributeValues)
Creates an attribute map builder for the component.
|
Set<org.carrot2.util.attribute.AttributeInfo> |
getAttributes() |
Map<String,org.carrot2.util.attribute.AttributeInfo> |
getAttributesByFieldName() |
Map<String,org.carrot2.util.attribute.AttributeInfo> |
getAttributesByKey() |
String |
getDescription() |
String |
getLabel() |
Set<org.carrot2.util.attribute.AttributeInfo> |
getOwnAttributes() |
String |
getPrefix() |
String |
getTitle() |
public final String bindableClassName
public final String prefix
public final String title
public final String label
public final String description
public static final PassthroughClusteringAlgorithmDescriptor.Attributes attributes
public PassthroughClusteringAlgorithmDescriptor()
public static PassthroughClusteringAlgorithmDescriptor.AttributeBuilder attributeBuilder(Map<String,Object> attributeValues)
attributeValues - An existing map which should be used to collect attribute values.
Attribute values set by this builder will be added to the provided map, overwriting
previously defined mappings, if any.public String getPrefix()
getPrefix in interface org.carrot2.util.attribute.IBindableDescriptorpublic String getTitle()
getTitle in interface org.carrot2.util.attribute.IBindableDescriptorpublic String getLabel()
getLabel in interface org.carrot2.util.attribute.IBindableDescriptorpublic String getDescription()
getDescription in interface org.carrot2.util.attribute.IBindableDescriptorpublic Set<org.carrot2.util.attribute.AttributeInfo> getOwnAttributes()
getOwnAttributes in interface org.carrot2.util.attribute.IBindableDescriptorpublic Set<org.carrot2.util.attribute.AttributeInfo> getAttributes()
getAttributes in interface org.carrot2.util.attribute.IBindableDescriptorpublic Map<String,org.carrot2.util.attribute.AttributeInfo> getAttributesByKey()
getAttributesByKey in interface org.carrot2.util.attribute.IBindableDescriptor