TrueUpdate Manager Specification 0.7.1

net.java.trueupdate.manager.spec
Interface UpdateContext


public interface UpdateContext

An update context is provided by an UpdateManager to an UpdateInstaller while installing an update.

Implementations must be thread-safe.

Author:
Christian Schlichtherle

Method Summary
 String currentLocation()
          Returns the current location of the client application.
 Transaction decorate(Action id, Transaction tx)
          Decorates the given transaction with the given identifier for execution.
 File deltaZip()
          Returns the delta ZIP file for patching the client application's artifact file.
 String updateLocation()
          Returns the update location of the client application.
 

Method Detail

currentLocation

String currentLocation()
Returns the current location of the client application.


decorate

Transaction decorate(Action id,
                     Transaction tx)
Decorates the given transaction with the given identifier for execution.


deltaZip

File deltaZip()
Returns the delta ZIP file for patching the client application's artifact file. The caller must not modify or delete this file.


updateLocation

String updateLocation()
Returns the update location of the client application.


TrueUpdate Manager Specification 0.7.1

Copyright © 2013 Schlichtherle IT Services. All rights reserved.