org.eclipse.update.core
Interface IVerificationListener
Deprecated. The org.eclipse.update component has been replaced by Equinox p2. This
provisional API was never promoted to stable API, and may be removed from a future release of the platform.
-
public interface IVerificationListener
Verification listener. This interface abstract the user interaction
that may be required as a result of feature installation. In particular,
as feature archives are downloaded and verified, the user may need to
indicate whether to accept any one of the archives, or abort the
installation.
Clients may implement this interface.
Note: This class/interface is part of an interim API that is still under development and expected to
change significantly before reaching stability. It is being made available at this early stage to solicit feedback
from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
(repeatedly) as the API evolves.
-
Since:
- 2.0
-
See Also:
-
IVerificationResult
,
IVerifier
Field Summary
|
static int
|
CHOICE_ABORT
Deprecated. Indicate the action that resulted in this notification should be aborted. |
static int
|
CHOICE_ERROR
Deprecated. Indicate there was an error in processing the request. |
static int
|
CHOICE_INSTALL_TRUST_ALWAYS
Deprecated. Indicate that the target of the verification should be accepted,
and the information supplied with the verification result
should be trusted for this request, and subsequent requests. |
static int
|
CHOICE_INSTALL_TRUST_ONCE
Deprecated. Indicate that the target of the verification should be accepted,
but the information supplied with the verification result
should be trusted only for this request. |
Method Summary
|
int
|
prompt
(
IVerificationResult result)
Deprecated. Determine if we should continue with the current action
based on the indicated verification results. |
CHOICE_ABORT
static final int CHOICE_ABORT
-
Deprecated.
- Indicate the action that resulted in this notification should be aborted.
-
Since:
- 2.0
-
See Also:
-
Constant Field Values
CHOICE_ERROR
static final int CHOICE_ERROR
-
Deprecated.
- Indicate there was an error in processing the request.
The action that resulted in this notification should be aborted.
-
Since:
- 2.0
-
See Also:
-
Constant Field Values
CHOICE_INSTALL_TRUST_ONCE
static final int CHOICE_INSTALL_TRUST_ONCE
-
Deprecated.
- Indicate that the target of the verification should be accepted,
but the information supplied with the verification result
should be trusted only for this request.
-
Since:
- 2.0
-
See Also:
-
Constant Field Values
CHOICE_INSTALL_TRUST_ALWAYS
static final int CHOICE_INSTALL_TRUST_ALWAYS
-
Deprecated.
- Indicate that the target of the verification should be accepted,
and the information supplied with the verification result
should be trusted for this request, and subsequent requests.
-
Since:
- 2.0
-
See Also:
-
Constant Field Values
prompt
int prompt(
IVerificationResult result)
-
Deprecated.
- Determine if we should continue with the current action
based on the indicated verification results. Typically,
the implementation of this method will prompt the user
for the appropriate answer. However, other respose
implementations can be provided.
-
-
Parameters:
-
result
- verification result -
Since:
- 2.0
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.