org.mule.devkit.generation.api
Interface ModuleAnnotationVerifier

All Superinterfaces:
Verifier

public interface ModuleAnnotationVerifier
extends Verifier

Verifies that annotations are consistent, sound and correctly used within a module.


Method Summary
 boolean shouldVerify(Module module)
          Should this verifier be executed for the given module?
 void verify(Module module)
          Verify the annotations on this module
 

Method Detail

shouldVerify

boolean shouldVerify(Module module)
Should this verifier be executed for the given module?

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

verify

void verify(Module module)
            throws AnnotationVerificationException
Verify the annotations on this module

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


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