org.mule.devkit.generation.api
Interface MultiModuleAnnotationVerifier

All Superinterfaces:
Verifier

public interface MultiModuleAnnotationVerifier
extends Verifier

Verifies annotations are correctly used globally.


Method Summary
 List<Module> processableModules(List<Module> modules)
           
 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
 

Method Detail

shouldVerify

boolean shouldVerify(List<Module> modules)
Should this verifier be executed for the given modules?

Parameters:
modules - The modules to test
Returns:
true if it should be verified, false otherwise

processableModules

List<Module> processableModules(List<Module> modules)
Parameters:
modules - The modules discriminate their kinds
Returns:
A list of processable modules, discriminating which will be useful for the verification

verify

void verify(List<Module> modules,
            NotificationGatherer gatherer)
            throws AnnotationVerificationException
Verify the annotations on these modules

Parameters:
modules - The modules to be verified
Throws:
AnnotationVerificationException - if the verification fails


Copyright © 2010–2014 MuleSoft, Inc.. All rights reserved.