org.apache.hivemind.definition
Class DefinitionMessages

java.lang.Object
  extended by org.apache.hivemind.definition.DefinitionMessages

public class DefinitionMessages
extends java.lang.Object

Used to format messages used in errors and log output for classes within the definition package.

Author:
Achim Huegen

Constructor Summary
DefinitionMessages()
           
 
Method Summary
static java.lang.String configurationPointNotVisible(ConfigurationPointDefinition point, ModuleDefinition contributingModule)
           
static java.lang.String contributionCount(int count)
           
static java.lang.String dependencyOnUnknownModule(java.lang.String toModuleId)
           
static java.lang.String duplicateConfigurationPointId(java.lang.String pointId, ModuleDefinition module)
           
static java.lang.String duplicateModuleId(java.lang.String moduleId)
           
static java.lang.String duplicateParserInputFormat(java.lang.String inputFormat, ConfigurationPointDefinition cp)
           
static java.lang.String duplicateServicePointId(java.lang.String pointId, ModuleDefinition module)
           
static java.lang.String occurances(Occurances occurances)
           
static java.lang.String servicePointNotVisible(ServicePointDefinition point, ModuleDefinition contributingModule)
           
static java.lang.String unknownConfigurationPoint(java.lang.String moduleId, java.lang.String configurationId)
           
static java.lang.String unknownServicePoint(java.lang.String moduleId, java.lang.String pointId)
           
static java.lang.String wrongNumberOfContributions(ModuleDefinition definingModule, ConfigurationPointDefinition point, int actualCount, Occurances expectation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefinitionMessages

public DefinitionMessages()
Method Detail

duplicateModuleId

public static java.lang.String duplicateModuleId(java.lang.String moduleId)

wrongNumberOfContributions

public static java.lang.String wrongNumberOfContributions(ModuleDefinition definingModule,
                                                          ConfigurationPointDefinition point,
                                                          int actualCount,
                                                          Occurances expectation)

duplicateServicePointId

public static java.lang.String duplicateServicePointId(java.lang.String pointId,
                                                       ModuleDefinition module)

duplicateConfigurationPointId

public static java.lang.String duplicateConfigurationPointId(java.lang.String pointId,
                                                             ModuleDefinition module)

contributionCount

public static java.lang.String contributionCount(int count)

occurances

public static java.lang.String occurances(Occurances occurances)

dependencyOnUnknownModule

public static java.lang.String dependencyOnUnknownModule(java.lang.String toModuleId)

unknownConfigurationPoint

public static java.lang.String unknownConfigurationPoint(java.lang.String moduleId,
                                                         java.lang.String configurationId)

unknownServicePoint

public static java.lang.String unknownServicePoint(java.lang.String moduleId,
                                                   java.lang.String pointId)

configurationPointNotVisible

public static java.lang.String configurationPointNotVisible(ConfigurationPointDefinition point,
                                                            ModuleDefinition contributingModule)

duplicateParserInputFormat

public static java.lang.String duplicateParserInputFormat(java.lang.String inputFormat,
                                                          ConfigurationPointDefinition cp)

servicePointNotVisible

public static java.lang.String servicePointNotVisible(ServicePointDefinition point,
                                                      ModuleDefinition contributingModule)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.