Java com.google.gwt.gears.client.localserver ManagedResourceStore fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.gears.client.localserver ManagedResourceStore fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.gears.client.localserver ManagedResourceStore.

The text is from its open source code.

Field

intUPDATE_CHECKING
Gears is checking for a new manifest file.
intUPDATE_DOWNLOADING
Gears found a new manifest file and is downloading the new resources.
intUPDATE_FAILED
The last update to run failed, and the error message is available from #getLastErrorMessage() .
intUPDATE_OK
An update is not running.

Method

voidcheckForUpdate()
Instructs Gears to check for an updated manifest file (as determined by whether the value of the 'version' attribute in the manifest has changed), and retrieve and atomically update the contained files, as necessary.
StringgetCurrentVersion()
Returns the version of the set of resources that is currently being served locally, or empty string if no version is currently in use.
StringgetLastErrorMessage()
Returns the last error message reported by this instance.
StringgetName()
Returns the name of this store.
intgetUpdateStatus()
Returns the update status value of this store.
voidsetEnabled(boolean enabled)
Enables or disables the store.
voidsetManifestUrl(String manifestUrl)
Sets the URL of the manifest file defining the contents of this store.