0
|
1 |
/*
|
|
2 |
* Copyright (c) 2006 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 "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 |
|
|
19 |
|
|
20 |
package com.nokia.s60tools.appdep.core;
|
|
21 |
|
|
22 |
/**
|
|
23 |
* Common interface for all the supported
|
|
24 |
* toolchain types.
|
|
25 |
*/
|
|
26 |
public interface IToolchain {
|
|
27 |
|
|
28 |
/**
|
|
29 |
* Returns the build type name that matches with
|
|
30 |
* the toolchain name used when invoking command
|
|
31 |
* line tool.
|
|
32 |
* @return Toolchain type name.
|
|
33 |
*/
|
|
34 |
public String getToolchainName();
|
|
35 |
|
|
36 |
/**
|
|
37 |
* Returns a short description of the toolchain.
|
|
38 |
* @return Toolchain description.
|
|
39 |
*/
|
|
40 |
public String getToolchainDescription();
|
|
41 |
|
|
42 |
/**
|
|
43 |
* Returns the installation status.
|
|
44 |
* @return Returns <code>true</code> if toolchain is
|
|
45 |
* installed, otherwise <code>false</code>.
|
|
46 |
*/
|
|
47 |
public boolean isInstalled();
|
|
48 |
|
|
49 |
/**
|
|
50 |
* Updates the installation status for the toolchain.
|
|
51 |
*/
|
|
52 |
public void setIsInstalled(boolean isInstalled);
|
|
53 |
|
|
54 |
/**
|
|
55 |
* Check it this toolchain is a default one.
|
|
56 |
* @return Returns <code>true</code> if toolchain is
|
|
57 |
* default one, otherwise <code>false</code>.
|
|
58 |
*/
|
|
59 |
public boolean isDefault();
|
|
60 |
|
|
61 |
/**
|
|
62 |
* Gets toolchain version if available.
|
|
63 |
* @return toolchain version, or <code>null</code> if not available.
|
|
64 |
*/
|
|
65 |
public String getVersion();
|
|
66 |
|
|
67 |
}
|