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

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

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

Validates that Bundlor has not been run on a signed JAR file as it would break the signing

Concurrent Semantics
Threadsafe

Author:
Ben Hale

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

SignedJarFileValidator

public SignedJarFileValidator()
Method Detail

validate

public java.util.Set<java.lang.String> validate(com.springsource.util.parser.manifest.ManifestContents manifest)
Description copied from interface: Validator
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