imakerplugin/com.nokia.s60tools.imaker/src/com/nokia/s60tools/imaker/IEnvironmentManager.java
author dpodwall
Tue, 12 Jan 2010 13:17:53 -0600
changeset 0 61163b28edca
child 1 7ff23301fe22
permissions -rw-r--r--
initial EPL conversion
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     1
/*
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     2
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     3
* All rights reserved.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     4
* This component and the accompanying materials are made available
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     6
* which accompanies this distribution, and is available
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     8
*
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     9
* Initial Contributors:
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    11
*
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    12
* Contributors:
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    13
*
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    14
* Description:
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    15
*
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    16
*/
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    17
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    18
package com.nokia.s60tools.imaker;
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    19
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    20
import java.util.List;
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    21
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    22
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    23
public interface IEnvironmentManager {
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    24
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    25
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    26
	 * Sets the environment with the specified epocroot
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    27
	 * as the the active one
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    28
	 * @param epocRoot
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    29
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    30
	public abstract void setActiveEnvironment(String epocRoot);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    31
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    32
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    33
	 * Returns the currently active environment
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    34
	 * @return
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    35
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    36
	public abstract IEnvironment getActiveEnvironment();
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    37
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    38
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    39
	 * Returns an environment by its epocRoot 
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    40
	 * @param epocRoot
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    41
	 * @return
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    42
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    43
	public abstract IEnvironment getEnvironmentByDrive(String epocRoot);
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    44
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    45
	/**
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    46
	 * Returns the list of available environments that contain iMaker tool
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    47
	 * @return
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    48
	 */
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    49
	public abstract List<IEnvironment> getEnviroments();
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    50
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    51
}