|
TrueUpdate Agent Specification 0.7 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface UpdateAgent
An update agent cooperates with an update manager to automatically install updates to an application. All communication between the update agent and the update manager is asynchronous.
Implementations must be thread-safe.
| Method Summary | |
|---|---|
void |
cancel()
Sends a negative response to a redeployment request in order to cancel the installation of an artifact update. |
void |
install(String version)
Sends a request to install the given artifact version. |
void |
proceed()
Sends a positive response to a redeployment request in order to complete the installation of an artifact update. |
void |
subscribe()
Sends a request to subscribe to the list of recipients for update notices for the application. |
void |
unsubscribe()
Sends a request to unsubscribe from the list of recipients for update notices for the application. |
| Method Detail |
|---|
void cancel()
throws Exception
Exception
void install(String version)
throws Exception
version - the artifact version to install.
Specifying the current version shows no effect.
Specifying a higher version upgrades the application.
Specifying a prior version downgrades the application.
Exception
void proceed()
throws Exception
Exception
void subscribe()
throws Exception
Exception
void unsubscribe()
throws Exception
Exception
|
TrueUpdate Agent Specification 0.7 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||