svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.installer / org.gvsig.installer.lib / org.gvsig.installer.lib.impl / src / test / java / org / gvsig / installer / lib / impl / execution / InstallPackageServiceDumb.java @ 40560
History | View | Annotate | Download (2.55 KB)
1 |
/**
|
---|---|
2 |
* gvSIG. Desktop Geographic Information System.
|
3 |
*
|
4 |
* Copyright (C) 2007-2013 gvSIG Association.
|
5 |
*
|
6 |
* This program is free software; you can redistribute it and/or
|
7 |
* modify it under the terms of the GNU General Public License
|
8 |
* as published by the Free Software Foundation; either version 3
|
9 |
* of the License, or (at your option) any later version.
|
10 |
*
|
11 |
* This program is distributed in the hope that it will be useful,
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
* GNU General Public License for more details.
|
15 |
*
|
16 |
* You should have received a copy of the GNU General Public License
|
17 |
* along with this program; if not, write to the Free Software
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19 |
* MA 02110-1301, USA.
|
20 |
*
|
21 |
* For any additional information, do not hesitate to contact us
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com.
|
23 |
*/
|
24 |
package org.gvsig.installer.lib.impl.execution; |
25 |
|
26 |
import java.io.File; |
27 |
import java.net.URL; |
28 |
import java.util.List; |
29 |
|
30 |
import org.gvsig.installer.lib.api.PackageInfo; |
31 |
import org.gvsig.installer.lib.api.execution.InstallPackageService; |
32 |
import org.gvsig.installer.lib.api.execution.InstallPackageServiceException; |
33 |
import org.gvsig.tools.service.Manager; |
34 |
import org.gvsig.tools.task.SimpleTaskStatus; |
35 |
|
36 |
public class InstallPackageServiceDumb implements InstallPackageService { |
37 |
|
38 |
public Manager getManager() {
|
39 |
return null; |
40 |
} |
41 |
|
42 |
public void reset() { |
43 |
} |
44 |
|
45 |
public void addBundle(File bundleFile) |
46 |
throws InstallPackageServiceException {
|
47 |
} |
48 |
|
49 |
public void addBundle(URL bundleURL) throws InstallPackageServiceException { |
50 |
} |
51 |
|
52 |
public void addBundlesFromDirectory(File bundlesDirectory) |
53 |
throws InstallPackageServiceException {
|
54 |
} |
55 |
|
56 |
public void installPackage(File applicationDirectory, |
57 |
PackageInfo packageInfo) throws InstallPackageServiceException {
|
58 |
} |
59 |
|
60 |
public void installPackage(File applicationDirectory, String packageCode) |
61 |
throws InstallPackageServiceException {
|
62 |
} |
63 |
|
64 |
public int getPackageCount() { |
65 |
return 0; |
66 |
} |
67 |
|
68 |
public PackageInfo getPackageInfo(int index) { |
69 |
return null; |
70 |
} |
71 |
|
72 |
public PackageInfo getPackageInfo(String packageCode) { |
73 |
return null; |
74 |
} |
75 |
|
76 |
public void downloadPackage(PackageInfo packageInfo, |
77 |
SimpleTaskStatus taskStatus) throws InstallPackageServiceException {
|
78 |
} |
79 |
|
80 |
public List<String> getDefaultSelectedPackagesIDs() { |
81 |
return null; |
82 |
} |
83 |
|
84 |
public List<String> getCategories() { |
85 |
// TODO Auto-generated method stub
|
86 |
return null; |
87 |
} |
88 |
|
89 |
public List<String> getTypes() { |
90 |
// TODO Auto-generated method stub
|
91 |
return null; |
92 |
} |
93 |
|
94 |
} |