Eclipse Platform
2.1

org.eclipse.update.core
Class Verifier

java.lang.Object
  |
  +--org.eclipse.update.core.Verifier
All Implemented Interfaces:
IVerifier

public abstract class Verifier
extends Object
implements IVerifier

Convenience implementation of a verifier.

This class may be subclassed by clients.

Since:
2.0
See Also:
IVerifier

Constructor Summary
Verifier()
           
 
Method Summary
 IVerifier getParent()
          Returns the parent verifier
 void setParent(IVerifier parentVerifier)
          Sets the parent verifier.
abstract  IVerificationResult verify(IFeature feature, ContentReference reference, boolean isFeatureVerification, InstallMonitor monitor)
          Perform verification of the specified archive.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Verifier

public Verifier()
Method Detail

verify

public abstract IVerificationResult verify(IFeature feature,
                                           ContentReference reference,
                                           boolean isFeatureVerification,
                                           InstallMonitor monitor)
                                    throws CoreException
Description copied from interface: IVerifier
Perform verification of the specified archive.
Specified by:
verify in interface IVerifier
See Also:
IVerifier.verify(IFeature, ContentReference, boolean, InstallMonitor)

setParent

public void setParent(IVerifier parentVerifier)
Description copied from interface: IVerifier
Sets the parent verifier. The parent verifier can only be set once by the parent feature. It may used for different verification strategies. (for instance, you may decide that both the parent and current verifier must sucessfully verify the content reference, or that only one of them must verify)
Specified by:
setParent in interface IVerifier
See Also:
IVerifier.verify(IFeature, ContentReference, boolean, InstallMonitor)

getParent

public IVerifier getParent()
Returns the parent verifier
Specified by:
getParent in interface IVerifier
Returns:
the parent verifier
Since:
2.0

Eclipse Platform
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.