|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.definition.impl.ExtensionPointDefinitionImpl org.apache.hivemind.definition.impl.ConfigurationPointDefinitionImpl
public class ConfigurationPointDefinitionImpl
Default implementation of ConfigurationPointDefinition
.
Constructor Summary | |
---|---|
ConfigurationPointDefinitionImpl(ModuleDefinition module)
|
|
ConfigurationPointDefinitionImpl(ModuleDefinition module,
java.lang.String id,
Location location,
Visibility visibility,
java.lang.String containerClassName,
Occurances expectedContributions)
|
Method Summary | |
---|---|
void |
addContribution(ContributionDefinition contribution)
Adds a contribution. |
void |
addParser(ConfigurationParserDefinition parser)
Adds a parser definition. |
java.lang.String |
getConfigurationTypeName()
|
java.util.Collection |
getContributions()
|
Occurances |
getExpectedContributions()
|
ConfigurationParserDefinition |
getParser(java.lang.String inputFormat)
Returns the parsers which is responsible for processing the specified inputFormat . |
java.util.Collection |
getParsers()
|
void |
setConfigurationTypeName(java.lang.String containerClassName)
Set the class name of the configuration. |
void |
setExpectedContributions(Occurances expectedContributions)
Sets the expected number of contributions to the configuration. |
Methods inherited from class org.apache.hivemind.definition.impl.ExtensionPointDefinitionImpl |
---|
getId, getLocation, getModule, getModuleId, getQualifiedId, getVisibility, setId, setLocation, setVisibility |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hivemind.definition.ExtensionPointDefinition |
---|
getId, getModuleId, getQualifiedId, getVisibility |
Methods inherited from interface org.apache.hivemind.Locatable |
---|
getLocation |
Constructor Detail |
---|
public ConfigurationPointDefinitionImpl(ModuleDefinition module)
public ConfigurationPointDefinitionImpl(ModuleDefinition module, java.lang.String id, Location location, Visibility visibility, java.lang.String containerClassName, Occurances expectedContributions)
Method Detail |
---|
public java.lang.String getConfigurationTypeName()
getConfigurationTypeName
in interface ConfigurationPointDefinition
ConfigurationPointDefinition.getConfigurationTypeName()
public void setConfigurationTypeName(java.lang.String containerClassName)
public Occurances getExpectedContributions()
getExpectedContributions
in interface ConfigurationPointDefinition
ConfigurationPointDefinition.getExpectedContributions()
public void setExpectedContributions(Occurances expectedContributions)
public java.util.Collection getContributions()
getContributions
in interface ConfigurationPointDefinition
ContributionDefinition
ConfigurationPointDefinition.getContributions()
public void addContribution(ContributionDefinition contribution)
ConfigurationPointDefinition
addContribution
in interface ConfigurationPointDefinition
contribution
- the contributionConfigurationPointDefinition.addContribution(org.apache.hivemind.definition.ContributionDefinition)
public void addParser(ConfigurationParserDefinition parser)
ConfigurationPointDefinition
addParser
in interface ConfigurationPointDefinition
parser
- the parserConfigurationPointDefinition.addParser(org.apache.hivemind.definition.ConfigurationParserDefinition)
public java.util.Collection getParsers()
getParsers
in interface ConfigurationPointDefinition
ConfigurationParserDefinition
ConfigurationPointDefinition.getParsers()
public ConfigurationParserDefinition getParser(java.lang.String inputFormat)
ConfigurationPointDefinition
inputFormat
.
getParser
in interface ConfigurationPointDefinition
inputFormat
- the input format
ConfigurationPointDefinition.getParser(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |