public class ProcessingComponentDescriptor extends Object
IProcessingComponent being part of a
ProcessingComponentSuite.| Modifier and Type | Class and Description |
|---|---|
static class |
ProcessingComponentDescriptor.ProcessingComponentDescriptorToId
Transforms a
ProcessingComponentDescriptor to its identifier. |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributeSetId() |
AttributeValueSets |
getAttributeSets() |
String |
getAttributeSetsResource() |
org.carrot2.util.attribute.BindableDescriptor |
getBindableDescriptor()
Builds and returns a
BindableDescriptor for an instance of this
descriptor's IProcessingComponent, with default Init attributes
initialized with the default attribute set. |
Class<? extends IProcessingComponent> |
getComponentClass() |
ProcessingComponentConfiguration |
getComponentConfiguration() |
String |
getDescription() |
String |
getIconPath() |
String |
getId() |
Throwable |
getInitializationFailure()
Returns initialization failure (
Throwable) or null. |
String |
getLabel() |
String |
getMnemonic() |
String |
getTitle() |
boolean |
isComponentAvailable() |
String |
toString() |
public ProcessingComponentConfiguration getComponentConfiguration()
public Class<? extends IProcessingComponent> getComponentClass()
Class object for this component.RuntimeException - if the class cannot be defined for some reason (class
loader issues).public String getId()
public String getLabel()
public String getMnemonic()
public String getTitle()
public String getIconPath()
public String getDescription()
public String getAttributeSetsResource()
getAttributeSets() were
read or null if there was no such resource.public AttributeValueSets getAttributeSets()
public String getAttributeSetId()
public org.carrot2.util.attribute.BindableDescriptor getBindableDescriptor()
BindableDescriptor for an instance of this
descriptor's IProcessingComponent, with default Init attributes
initialized with the default attribute set. If the default attribute set does not
provide values for some required Bindable Init attributes, the
returned descriptor may be incomplete.public boolean isComponentAvailable()
true if instances of this descriptor are available
(class can be resolved, instances can be created).public Throwable getInitializationFailure()
Throwable) or null.