Oracle Java Wireless Client

com.sun.ams
Interface SuiteInstallerProgressListener

All Known Subinterfaces:
AppInstallerProgressListener, LinkInstallerProgressListener

public interface SuiteInstallerProgressListener

A listener interface for processing suite installer notifications.


Field Summary
static int DOWNLOADING_BODY
          Install stage: downloading application body.
static int DOWNLOADING_DATA
          Install stage: downloading additional application data.
static int DOWNLOADING_DESCRIPTOR
          Install stage: downloading application descriptor.
static int STORING
          Install stage: storing application.
static int VERIFYING
          Install stage: verifying downloaded content.
 
Method Summary
 void done(int errorCode)
          Reports the listener about installation completion
 void updateStatus(int status, int percent)
          Called with the current status of the install.
 

Field Detail

DOWNLOADING_DESCRIPTOR

static final int DOWNLOADING_DESCRIPTOR
Install stage: downloading application descriptor.

See Also:
Constant Field Values

DOWNLOADING_BODY

static final int DOWNLOADING_BODY
Install stage: downloading application body.

See Also:
Constant Field Values

DOWNLOADING_DATA

static final int DOWNLOADING_DATA
Install stage: downloading additional application data.

See Also:
Constant Field Values

VERIFYING

static final int VERIFYING
Install stage: verifying downloaded content.

See Also:
Constant Field Values

STORING

static final int STORING
Install stage: storing application.

See Also:
Constant Field Values
Method Detail

done

void done(int errorCode)
Reports the listener about installation completion

Parameters:
errorCode - the result of installation. 0 means no error, see InstallerErrorCodes for details

updateStatus

void updateStatus(int status,
                  int percent)
Called with the current status of the install. See SuiteInstallerProgressListener for the status codes.

Parameters:
status - current status of the install.
percent - current state of the install.

Oracle Java Wireless Client

Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.