|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfigurationPointDefinition
Defines a configuration extension point. The definition includes the configuration type, contributions and parsers.
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()
|
Methods inherited from interface org.apache.hivemind.definition.ExtensionPointDefinition |
---|
getId, getModuleId, getQualifiedId, getVisibility |
Methods inherited from interface org.apache.hivemind.Locatable |
---|
getLocation |
Method Detail |
---|
java.lang.String getConfigurationTypeName()
Occurances getExpectedContributions()
java.util.Collection getContributions()
ContributionDefinition
void addContribution(ContributionDefinition contribution)
contribution
- the contribution
ApplicationRuntimeException
- if this point is not visible from the
module that defines the contributionvoid addParser(ConfigurationParserDefinition parser)
parser
- the parser
ApplicationRuntimeException
- if this point is not visible from the module
that defines the parser or if a parser for the specified format is already definedConfigurationParserDefinition getParser(java.lang.String inputFormat)
inputFormat
.
inputFormat
- the input format
java.util.Collection getParsers()
ConfigurationParserDefinition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |