|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IOperationValidator
This class contains various validation methods to be invoked before or during executing update manager operations.
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.
Method Summary | |
---|---|
IStatus |
validateCurrentState()
Check the current state. |
IStatus |
validatePendingChanges(IConfigFeatureOperation[] jobs)
Called by the API using managed-only update policy. |
IStatus |
validatePendingChanges(IInstallFeatureOperation[] jobs)
Called by the UI before doing a batched processing of several pending install changes. |
IStatus |
validatePendingChanges(IUnconfigFeatureOperation[] jobs)
Called by the API using managed-only update policy. |
IStatus |
validatePendingConfig(IFeature feature)
Called before performing operation. |
IStatus |
validatePendingInstall(IFeature oldFeature,
IFeature newFeature)
Called before performing install. |
IStatus |
validatePendingReplaceVersion(IFeature feature,
IFeature anotherFeature)
Called before performing operation. |
IStatus |
validatePendingRevert(IInstallConfiguration config)
Called before doing a revert/ restore operation |
IStatus |
validatePendingUnconfig(IFeature feature)
Called before performing operation. |
IStatus |
validatePlatformConfigValid()
Checks if the platform configuration has been modified outside this program. |
Method Detail |
---|
IStatus validatePendingInstall(IFeature oldFeature, IFeature newFeature)
IStatus validatePendingConfig(IFeature feature)
IStatus validatePendingUnconfig(IFeature feature)
IStatus validatePendingReplaceVersion(IFeature feature, IFeature anotherFeature)
IStatus validatePendingRevert(IInstallConfiguration config)
IStatus validatePendingChanges(IInstallFeatureOperation[] jobs)
IStatus validatePendingChanges(IConfigFeatureOperation[] jobs)
IStatus validatePendingChanges(IUnconfigFeatureOperation[] jobs)
IStatus validateCurrentState()
IStatus validatePlatformConfigValid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |