|
Oracle Java Wireless Client | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AppInstallerProgressListener
Field Summary |
Fields inherited from interface com.sun.ams.SuiteInstallerProgressListener |
DOWNLOADING_BODY, DOWNLOADING_DATA, DOWNLOADING_DESCRIPTOR, STORING, VERIFYING |
Method Summary | |
boolean |
confirmAuthPath(java.lang.String[] authPath)
Ask the user to confirm the authentication path. |
boolean |
confirmCertificateImport(Certificate cert)
Called to ask the user to confirm that a certificate the MIDlet suite is signed with may imported into the internal keystore. |
boolean |
confirmCurrentScreenSaverUnset(java.lang.String name)
Called then current screen saver is no longer available in new version of installed test suite |
boolean |
confirmCurrentScreenSaverUpdate(java.lang.String name)
Called then current screen saver MIDlet is being updated by new version of screen saver MIDlet |
boolean |
confirmGrantMaximumPermissions(java.util.Vector groupNames,
boolean hasRisks)
Ask the user during installation or update if he wants to grant maximum permissions allowed by MIDP specification to the MIDlet suite. |
boolean |
confirmInstallUnverified()
Called to ask the user to confirm that the MIDlet suite not passing verification due to unknown CA may be installed as untrusted. |
boolean |
confirmJarDownload(int totalSize)
Called with the application description so the user can be asked to confirm the jar download. |
boolean |
confirmPersistentSuiteInstallation()
Called to aks the user to confirm that the permanent MIDlet suite installation can proceed, and that the user will not be able to delete the MIDlet suite after installation. |
boolean |
confirmRedirect(java.lang.String newLocation)
Called with the URL where the request is attempted to be redirected so the user can be asked to confirm if he really wants to install from the new location. |
boolean |
confirmUnsignedFxInstall()
Called with the current state of the install so the user can be asked to confirm the unsigned JavaFX application install. |
boolean |
confirmUpdate(int status)
Called to ask the user about update of already installed application. |
java.lang.String[] |
getNetworkAccessCredentials()
Called to ask user for login and password for network access. |
java.lang.String[] |
getResourceAccessCredentials()
Called to ask user for login and password for network resource access. |
java.lang.String |
getRmsDecryptionPassword()
Called to ask user for RMS decryption password. |
java.lang.String |
getRmsEncryptionPassword()
Called to ask user for RMS encryption password. |
boolean |
keepRMS()
Called to ask the user to confirm if the RMS data should be kept for new version of an updated suite. |
Methods inherited from interface com.sun.ams.SuiteInstallerProgressListener |
done, updateStatus |
Method Detail |
java.lang.String[] getNetworkAccessCredentials()
Typically the function is used to ask login/password for proxy authorization. If authorization with the returned credentials fails then this function will be called again. This function may cancel the installation by returning null. NB: For access to .jar and .jad files the same credentials are used. In case the credentials provides for .jad file differ from .jar file this method will be called once again
InstallerErrorCodes.CANCELED
error code in the corresponding
SuiteInstallerProgressListener.done(int errorCode)
call).java.lang.String[] getResourceAccessCredentials()
InstallerErrorCodes.CANCELED
error code in the corresponding
SuiteInstallerProgressListener.done(int errorCode)
call).boolean confirmUpdate(int status)
status
- is equal to one of the following values depending on installing suite version:
InstallerErrorCodes.OLD_VERSION
InstallerErrorCodes.ALREADY_INSTALLED
InstallerErrorCodes.NEW_VERSION
InstallerErrorCodes.CANCELED
error code in the corresponding
SuiteInstallerProgressListener.done(int errorCode)
call)boolean confirmJarDownload(int totalSize)
totalSize
- the expected size of data will be
downloaded. Dynamic components and RMS are included as
well.
InstallerErrorCodes.CANCELED
error code in the corresponding
SuiteInstallerProgressListener.done(int errorCode)
call)boolean keepRMS()
boolean confirmAuthPath(java.lang.String[] authPath)
authPath
- the authorization path.
InstallerErrorCodes.CANCELED
error code in the corresponding
SuiteInstallerProgressListener.done(int errorCode)
call)boolean confirmRedirect(java.lang.String newLocation)
newLocation
- new url of the resource to install.
InstallerErrorCodes.CANCELED
error code in the corresponding
SuiteInstallerProgressListener.done(int errorCode)
call)boolean confirmUnsignedFxInstall()
InstallerErrorCodes.CANCELED
error code in the corresponding
SuiteInstallerProgressListener.done(int errorCode)
call)boolean confirmGrantMaximumPermissions(java.util.Vector groupNames, boolean hasRisks)
groupNames
- names of permission groups matching to the permissions
requested by this suite in it's JAD/JARhasRisks
- true if groupNames will contain high risk combinations
in case of the function groups are all set to BLANKET
boolean confirmCurrentScreenSaverUpdate(java.lang.String name)
name
- the name of the screen saver MIDlet
InstallerErrorCodes.CANCELED
error code in the corresponding
SuiteInstallerProgressListener.done(int errorCode)
call)boolean confirmCurrentScreenSaverUnset(java.lang.String name)
name
- the name of the screen saver MIDlet
InstallerErrorCodes.CANCELED
error code in the corresponding
SuiteInstallerProgressListener.done(int errorCode)
call)boolean confirmPersistentSuiteInstallation()
InstallerErrorCodes.CANCELED
error code in the corresponding
SuiteInstallerProgressListener.done(int errorCode)
call)java.lang.String getRmsEncryptionPassword()
java.lang.String getRmsDecryptionPassword()
boolean confirmInstallUnverified()
InstallerErrorCodes.CANCELED
error code in the corresponding
SuiteInstallerProgressListener.done(int errorCode)
call)boolean confirmCertificateImport(Certificate cert)
cert
- the certificate to import
|
Oracle Java Wireless Client | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |