connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/interfaces/IService2.java
author dadubrow
Tue, 19 May 2009 15:33:01 -0500
changeset 164 88b7eb94b003
permissions -rw-r--r--
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*/

package com.nokia.carbide.remoteconnections.interfaces;

import org.eclipse.core.runtime.IAdaptable;

import java.util.Map;

/**
 * An extended interface for remote connections services 
 */
public interface IService2 extends IService, IAdaptable {

	/**
	 * Return whether this service uses the Device OS setting in the connection edit page
	 * @return boolean
	 */
	boolean wantsDeviceOS();
	
	/**
	 * Return a map of service specific default settings
	 * @return Map 
	 */
	Map<String, String> getDefaults();

}