srcanaapps/depexplorer/com.nokia.s60tools.appdep/src/com/nokia/s60tools/appdep/locatecomponent/CProjectJobStatus.java
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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 "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.s60tools.appdep.locatecomponent; |
|
19 |
|
20 import org.eclipse.cdt.core.model.ICProject; |
|
21 import org.eclipse.core.runtime.IStatus; |
|
22 |
|
23 /** |
|
24 * Class for holding {@link IStatus} and {@link ICProject} references. |
|
25 */ |
|
26 public class CProjectJobStatus { |
|
27 |
|
28 /** |
|
29 * Project job success/failure status. |
|
30 */ |
|
31 private IStatus status; |
|
32 |
|
33 /** |
|
34 * Project object. |
|
35 */ |
|
36 private ICProject cProject; |
|
37 |
|
38 /** |
|
39 * Sets job success/failure status. |
|
40 * @return the status |
|
41 */ |
|
42 public IStatus getStatus() { |
|
43 return status; |
|
44 } |
|
45 |
|
46 /** |
|
47 * Gets job success/failure status. |
|
48 * @param status the status to set |
|
49 */ |
|
50 public void setStatus(IStatus status) { |
|
51 this.status = status; |
|
52 } |
|
53 |
|
54 /** |
|
55 * Gets the handled project object. |
|
56 * @return the cProject |
|
57 */ |
|
58 public ICProject getCProject() { |
|
59 return cProject; |
|
60 } |
|
61 |
|
62 /** |
|
63 * Sets the handled project object. |
|
64 * @param project the cProject to set |
|
65 */ |
|
66 public void setCProject(ICProject project) { |
|
67 cProject = project; |
|
68 } |
|
69 |
|
70 } |