org.apache.felix.scrplugin.helper
Class Validator

java.lang.Object
  extended by org.apache.felix.scrplugin.helper.Validator

public class Validator
extends java.lang.Object


Nested Class Summary
static class Validator.MethodResult
           
 
Constructor Summary
Validator(ComponentContainer container, Project project, Options options, IssueLog iLog)
           
 
Method Summary
static Validator.MethodResult findMethod(Project project, Options options, ClassDescription cd, ReferenceDescription ref, java.lang.String methodName)
          Find the method and the required spec version
 void validate()
          Validate the component description.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Validator

public Validator(ComponentContainer container,
                 Project project,
                 Options options,
                 IssueLog iLog)
Method Detail

validate

public void validate()
              throws SCRDescriptorException
Validate the component description. If errors occur a message is added to the issues list, warnings can be added to the warnings list.

Throws:
SCRDescriptorException

findMethod

public static Validator.MethodResult findMethod(Project project,
                                                Options options,
                                                ClassDescription cd,
                                                ReferenceDescription ref,
                                                java.lang.String methodName)
                                         throws SCRDescriptorException
Find the method and the required spec version

Throws:
SCRDescriptorException - If the class can't be found


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.