com.springsource.bundlor.blint.support.contributors
Class VersionedExportsValidator

java.lang.Object
  extended by com.springsource.bundlor.blint.support.contributors.VersionedExportsValidator
All Implemented Interfaces:
Validator

public final class VersionedExportsValidator
extends java.lang.Object
implements Validator

Validates that all imported packages have a version specified.

Concurrent Semantics
Threadsafe

Author:
Ben Hale

Field Summary
private static java.lang.String MESSAGE
           
 
Constructor Summary
VersionedExportsValidator()
           
 
Method Summary
 java.util.Set<java.lang.String> validate(com.springsource.util.parser.manifest.ManifestContents manifest)
          Check for warnings against a bundle's manifest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGE

private static final java.lang.String MESSAGE
See Also:
Constant Field Values
Constructor Detail

VersionedExportsValidator

public VersionedExportsValidator()
Method Detail

validate

public java.util.Set<java.lang.String> validate(com.springsource.util.parser.manifest.ManifestContents manifest)
Check for warnings against a bundle's manifest

Specified by:
validate in interface Validator
Parameters:
manifest - the manifest to validate
Returns:
a collection of warnings