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

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

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

Validates that the BundleManifest-Version value is always 2

Concurrent Semantics
Threadsafe

Author:
Ben Hale

Field Summary
private static java.lang.String MESSAGE
           
 
Constructor Summary
BundleManifestVersionValidator()
           
 
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

BundleManifestVersionValidator

public BundleManifestVersionValidator()
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