@JustOnce public class MultiModuleConsistencyAnnotationVerifier extends Object implements MultiModuleAnnotationVerifier
Constructor and Description |
---|
MultiModuleConsistencyAnnotationVerifier() |
Modifier and Type | Method and Description |
---|---|
NotificationGatherer |
getGatherer() |
List<Module> |
processableModules(List<Module> modules) |
void |
setGatherer(NotificationGatherer gatherer) |
boolean |
shouldVerify(List<Module> modules)
Should this verifier be executed for the given modules?
|
void |
verify(List<Module> modules,
NotificationGatherer gatherer)
Verify the annotations on these modules
|
void |
verifyUniqueFriendlyNamePerNamespace(List<Module> modules) |
void |
verifyUniqueNamePerExpressionLanguages(List<Module> modules) |
void |
verifyUniqueProcessorPerNamespace(List<Module> modules) |
public MultiModuleConsistencyAnnotationVerifier()
public NotificationGatherer getGatherer()
public void setGatherer(NotificationGatherer gatherer)
public boolean shouldVerify(List<Module> modules)
MultiModuleAnnotationVerifier
shouldVerify
in interface MultiModuleAnnotationVerifier
modules
- The modules to testpublic List<Module> processableModules(List<Module> modules)
processableModules
in interface MultiModuleAnnotationVerifier
modules
- The modules discriminate their kindspublic void verifyUniqueProcessorPerNamespace(List<Module> modules) throws AnnotationVerificationException
AnnotationVerificationException
public void verifyUniqueFriendlyNamePerNamespace(List<Module> modules) throws AnnotationVerificationException
AnnotationVerificationException
public void verifyUniqueNamePerExpressionLanguages(List<Module> modules) throws AnnotationVerificationException
AnnotationVerificationException
public void verify(List<Module> modules, NotificationGatherer gatherer) throws AnnotationVerificationException
MultiModuleAnnotationVerifier
verify
in interface MultiModuleAnnotationVerifier
modules
- The modules to be verifiedAnnotationVerificationException
- if the verification failsCopyright © 2010–2015 MuleSoft, Inc.. All rights reserved.