587
|
1 |
/*
|
|
2 |
* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of the License "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
package com.nokia.tools;
|
|
19 |
|
628
|
20 |
import org.apache.tools.ant.Project;
|
|
21 |
|
587
|
22 |
import com.nokia.helium.core.ant.types.VariableSet;
|
|
23 |
/**
|
|
24 |
* Common interface for the command line tool wrapper
|
|
25 |
*/
|
|
26 |
public interface Tool {
|
|
27 |
|
|
28 |
/**
|
|
29 |
* Create a task which can be executed based on the input
|
|
30 |
* command line variables set using setVariables()
|
|
31 |
* @return the task to execute
|
|
32 |
*/
|
|
33 |
void execute(VariableSet varSet, Project prj)throws ToolsProcessException;
|
|
34 |
} |