|
|
|
|
org.eclipse.update.standalone
Class UpdateCommand
java.lang.Object
org.eclipse.update.standalone.ScriptedCommand
org.eclipse.update.standalone.UpdateCommand
-
All Implemented Interfaces:
-
IOperationListener
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 class UpdateCommand
- extends
ScriptedCommand
Command to update and existing feature.
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:
- 3.0
Constructor Summary
|
UpdateCommand
(
String featureId,
String verifyOnly)
Deprecated. Update command for updating a feature to a newer version. |
UpdateCommand
(
String featureId,
String version,
String verifyOnly)
Deprecated. Update command for updating a feature to a specified newer version. |
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
UpdateCommand
public UpdateCommand(
String featureId,
String verifyOnly)
throws
Exception
-
Deprecated.
- Update command for updating a feature to a newer version.
-
Parameters:
-
featureId - -
verifyOnly -
-
Throws:
-
Exception
UpdateCommand
public UpdateCommand(
String featureId,
String version,
String verifyOnly)
throws
Exception
-
Deprecated.
- Update command for updating a feature to a specified newer version.
-
Parameters:
-
featureId - -
version - -
verifyOnly -
-
Throws:
-
Exception
run
public boolean run(
IProgressMonitor monitor)
-
Deprecated.
-
Description copied from class:
ScriptedCommand
- Executes the command. Subclasses are responsible for implementing this method.
If the command was constructed with verifyOnly=true, the command should not execute, but only verify it can execute.
-
-
Specified by:
-
run
in class
ScriptedCommand
-
-
Parameters:
-
monitor - progress monitor during command execution.
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.
|
|
|