1 /* |
1 /* |
2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007-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 the License "Eclipse Public License v1.0" |
5 * under the terms of the License "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". |
8 * |
8 * |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 |
|
18 |
17 |
19 package com.nokia.helium.core.ant; |
18 package com.nokia.helium.core.ant; |
20 |
19 |
21 import org.apache.tools.ant.Project; |
20 import org.apache.tools.ant.Project; |
22 |
21 |
23 /** |
22 /** |
24 * This interface defines the API of an HeliumExecutor task. |
23 * This interface defines the API of an HeliumExecutor task and is used for |
|
24 * exception handling in helium. |
25 */ |
25 */ |
26 public interface HlmExceptionHandler { |
26 public interface HlmExceptionHandler { |
27 |
27 |
28 /** |
28 /** |
29 * This method will implement the action to be performed by the |
29 * Method handles the given exception. |
30 * HeliumExecutor plugin. |
30 * |
31 * @param project |
31 * @param project is the ant project. |
32 * @param module |
32 * @param exception is the exception to be handled. |
33 * @param exception |
|
34 */ |
33 */ |
35 void handleException(Project project, String module, Exception exception); |
34 void handleException(Project project, Exception exception); |
36 } |
35 } |