Oracle Java Wireless Client

com.sun.ams
Interface LinkInstallerProgressListener

All Superinterfaces:
SuiteInstallerProgressListener

public interface LinkInstallerProgressListener
extends SuiteInstallerProgressListener

A listener interface for processing link installer notifications.


Field Summary
 
Fields inherited from interface com.sun.ams.SuiteInstallerProgressListener
DOWNLOADING_BODY, DOWNLOADING_DATA, DOWNLOADING_DESCRIPTOR, STORING, VERIFYING
 
Method Summary
 boolean confirmUpdate(int status)
          Called to ask the user about update of already installed link.
 java.lang.String[] getNetworkAccessCredentials()
          Called to ask user for login and password for network access.
 
Methods inherited from interface com.sun.ams.SuiteInstallerProgressListener
done, updateStatus
 

Method Detail

getNetworkAccessCredentials

java.lang.String[] getNetworkAccessCredentials()
Called to ask user for login and password for network access.

Typically the function is used to ask login/password for proxy authorization.

Returns:
String[] the string array where first element is login and password is the second one.

confirmUpdate

boolean confirmUpdate(int status)
Called to ask the user about update of already installed link.

Parameters:
status - is equal to one of the following values depending on installing suite version: InstallerErrorCodes.OLD_VERSION InstallerErrorCodes.ALREADY_INSTALLED InstallerErrorCodes.NEW_VERSION
Returns:
true if the user wants to continue, false to stop the installation (will result in InstallerErrorCodes.CANCELED error code in the corresponding SuiteInstallerProgressListener.done(int errorCode) call)

Oracle Java Wireless Client

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