org.carrot2.core
Class ProcessingComponentConfiguration

java.lang.Object
  extended by org.carrot2.core.ProcessingComponentConfiguration

public class ProcessingComponentConfiguration
extends Object

Represents a specific configuration of a IProcessingComponent.


Field Summary
 Map<String,Object> attributes
          Initialization attributes for this component configuration.
 Class<? extends IProcessingComponent> componentClass
          The specific IProcessingComponent class.
 String componentId
          Identifier of the component.
 
Constructor Summary
ProcessingComponentConfiguration(Class<? extends IProcessingComponent> componentClass, String componentId)
          Creates a new component configuration with an empty set of initialization attributes.
ProcessingComponentConfiguration(Class<? extends IProcessingComponent> componentClass, String componentId, Map<String,Object> attributes)
          Creates a new component configuration.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

componentClass

public final Class<? extends IProcessingComponent> componentClass
The specific IProcessingComponent class.


componentId

public final String componentId
Identifier of the component.


attributes

public final Map<String,Object> attributes
Initialization attributes for this component configuration.

Constructor Detail

ProcessingComponentConfiguration

public ProcessingComponentConfiguration(Class<? extends IProcessingComponent> componentClass,
                                        String componentId,
                                        Map<String,Object> attributes)
Creates a new component configuration.

Parameters:
componentClass - the specific IProcessingComponent class.
componentId - identifier of the component.
attributes - initialization attributes for this component configuration.

ProcessingComponentConfiguration

public ProcessingComponentConfiguration(Class<? extends IProcessingComponent> componentClass,
                                        String componentId)
Creates a new component configuration with an empty set of initialization attributes.

Parameters:
componentClass - the specific IProcessingComponent class.
componentId - identifier of the component.


Copyright (c) Dawid Weiss, Stanislaw Osinski