|
1 /** |
|
2 * Copyright (c) 2009 Symbian Foundation 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 * Symbian Foundation - initial contribution. |
|
11 * Contributors: |
|
12 * Description: |
|
13 * Overview: |
|
14 * Details: |
|
15 * Platforms/Drives/Compatibility: |
|
16 * Assumptions/Requirement/Pre-requisites: |
|
17 * Failures and causes: |
|
18 */ |
|
19 |
|
20 package org.symbian.tools.wrttools.core.deploy.device; |
|
21 |
|
22 import org.symbian.tools.wrttools.sdt.utils.Check; |
|
23 |
|
24 /** |
|
25 * Holds the information about the Device to be used for the deployment |
|
26 * through bluetooth |
|
27 * @author avraina |
|
28 * |
|
29 */ |
|
30 public class DeployDeviceInfo { |
|
31 |
|
32 private String deviceName; |
|
33 private String deviceBlueToothAddress; |
|
34 |
|
35 public DeployDeviceInfo(String deviceName, String deviceBlueToothAddress) { |
|
36 Check.checkArg(deviceName); |
|
37 Check.checkArg(deviceBlueToothAddress); |
|
38 this.deviceName = deviceName; |
|
39 this.deviceBlueToothAddress = deviceBlueToothAddress; |
|
40 } |
|
41 |
|
42 /** |
|
43 * Returns the device name. |
|
44 * @return the address |
|
45 */ |
|
46 public String getDeviceName() { |
|
47 return deviceName; |
|
48 } |
|
49 |
|
50 /** |
|
51 * Returns the bluetooth address of the device |
|
52 * @return the address |
|
53 */ |
|
54 public String getDeviceBlueToothAddress() { |
|
55 return deviceBlueToothAddress; |
|
56 } |
|
57 } |