16 * Assumptions/Requirement/Pre-requisites: |
16 * Assumptions/Requirement/Pre-requisites: |
17 * Failures and causes: |
17 * Failures and causes: |
18 */ |
18 */ |
19 package org.symbian.tools.tmw.core.runtimes; |
19 package org.symbian.tools.tmw.core.runtimes; |
20 |
20 |
21 import org.symbian.tools.tmw.core.projects.IMTWProject; |
21 import org.symbian.tools.tmw.core.projects.ITMWProject; |
22 |
22 |
23 /** |
23 /** |
24 * Manages mobile web runtimes. |
24 * Manages mobile web runtimes. |
25 * |
25 * |
26 * @author Eugene Ostroukhov (eugeneo@symbian.org) |
26 * @author Eugene Ostroukhov (eugeneo@symbian.org) |
27 */ |
27 */ |
28 public interface IMobileWebRuntimeManager { |
28 public interface IMobileWebRuntimeManager { |
29 /** |
29 /** |
30 * Shorthand method to obtain packager for project default runtime. |
30 * Shorthand method to obtain packager for project default runtime. |
31 */ |
31 */ |
32 IPackager getPackager(IMTWProject project); |
32 IPackager getPackager(ITMWProject project); |
33 |
33 |
34 /** |
34 /** |
35 * Returns packager that can create a packaged application for provided |
35 * Returns packager that can create a packaged application for provided |
36 * runtime from the given project. |
36 * runtime from the given project. |
37 * |
37 * |
38 * @return <code>null</null> if the project cannot be packaged for |
38 * @return <code>null</null> if the project cannot be packaged for |
39 * specified runtime |
39 * specified runtime |
40 */ |
40 */ |
41 IPackager getPackager(IMTWProject project, IMobileWebRuntime runtime); |
41 IPackager getPackager(ITMWProject project, IMobileWebRuntime runtime); |
42 |
42 |
43 /** |
43 /** |
44 * Returns runtimes for the given ID. Runtime will not be null. |
44 * Returns runtimes for the given ID. Runtime will not be null. |
45 * |
45 * |
46 * @throws IllegalArgumentException if there is no runtime with the |
46 * @throws IllegalArgumentException if there is no runtime with the |