1 /* |
1 /* |
2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 package com.nokia.mj.impl.installer.jsrpluginnotifier; |
19 package com.nokia.mj.impl.installer.jsrpluginnotifier; |
20 |
20 |
21 import com.nokia.mj.impl.storage.StorageSession; |
|
22 import com.nokia.mj.impl.utils.Logger; |
21 import com.nokia.mj.impl.utils.Logger; |
23 import com.nokia.mj.impl.utils.Uid; |
22 import com.nokia.mj.impl.utils.Uid; |
24 import java.util.Hashtable; |
23 import java.util.Hashtable; |
25 |
24 |
26 /** |
25 /** |
27 * Information passed to JSR plugins when installing or uninstalling |
26 * Information passed to JSR plugins when installing or uninstalling |
28 * Java applications. |
27 * Java applications |
29 * @see JsrPluginNotifier |
28 * @see JsrPluginNotifier |
30 */ |
29 */ |
31 public final class InstallerExtensionInfo |
30 public final class InstallerExtensionInfo |
32 { |
31 { |
33 /** |
32 /** |
34 * MIDlet Suite Uid. |
33 * MIDlet Suite Uid. Can be null. |
35 */ |
34 */ |
36 public Uid iUid = null; |
35 public Uid iUid; |
37 |
36 |
38 /** |
37 /** |
39 * Application Uids. |
38 * true if upgrade installation |
40 */ |
39 */ |
41 public Uid[] iAppUids = null; |
40 public boolean iUpgrade; |
42 |
41 |
43 /** |
42 /** |
44 * Application suite root directory path. |
43 * true if silent installation |
45 */ |
44 */ |
46 public String iRootPath = null; |
45 public boolean iSilent; |
47 |
46 |
48 /** |
47 /** |
49 * True if upgrade installation. |
48 * Combined jad./.jar attributes. |
50 */ |
|
51 public boolean iUpgrade = false; |
|
52 |
|
53 /** |
|
54 * True if silent installation. |
|
55 */ |
|
56 public boolean iSilent = false; |
|
57 |
|
58 /** |
|
59 * Combined jad/jar attributes. |
|
60 * Key is attribute name, value is com.nokia.mj.impl.utils.Attribute object |
49 * Key is attribute name, value is com.nokia.mj.impl.utils.Attribute object |
61 * Can be null. |
50 * Can be null. |
62 */ |
51 */ |
63 public Hashtable iAttributes = null; |
52 public Hashtable iAttributes; |
64 |
|
65 /** |
|
66 * JavaStorage session where installation/uninstallation changes are made. |
|
67 */ |
|
68 public StorageSession iStorageSession = null; |
|
69 |
53 |
70 /*** ----------------------------- PUBLIC ------------------------------ */ |
54 /*** ----------------------------- PUBLIC ------------------------------ */ |
71 |
55 |
72 /** |
56 /** |
73 * Messages are logged to Java Installer log (at EInfo level). |
57 * Messages are logged to Java Installer log (at EInfo level). |