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 @ 43126
History | View | Annotate | Download (3.19 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 |
import java.util.Properties; |
30 |
|
31 |
import org.gvsig.installer.lib.api.PackageInfo; |
32 |
import org.gvsig.installer.lib.api.execution.InstallPackageService; |
33 |
import org.gvsig.installer.lib.api.execution.InstallPackageServiceException; |
34 |
import org.gvsig.tools.service.Manager; |
35 |
import org.gvsig.tools.task.SimpleTaskStatus; |
36 |
|
37 |
public class InstallPackageServiceDumb implements InstallPackageService { |
38 |
|
39 |
@Override
|
40 |
public Manager getManager() {
|
41 |
return null; |
42 |
} |
43 |
|
44 |
@Override
|
45 |
public void reset() { |
46 |
} |
47 |
|
48 |
@Override
|
49 |
public void addBundle(File bundleFile, SimpleTaskStatus taskStatus) |
50 |
throws InstallPackageServiceException {
|
51 |
} |
52 |
|
53 |
@Override
|
54 |
public void addBundle(URL bundleURL, SimpleTaskStatus taskStatus) throws InstallPackageServiceException { |
55 |
} |
56 |
|
57 |
@Override
|
58 |
public void addBundlesFromDirectory(File bundlesDirectory, SimpleTaskStatus taskStatus) |
59 |
throws InstallPackageServiceException {
|
60 |
} |
61 |
|
62 |
@Override
|
63 |
public void installPackage(File applicationDirectory, |
64 |
PackageInfo packageInfo) throws InstallPackageServiceException {
|
65 |
} |
66 |
|
67 |
@Override
|
68 |
public void installPackage(File applicationDirectory, String packageCode) |
69 |
throws InstallPackageServiceException {
|
70 |
} |
71 |
|
72 |
@Override
|
73 |
public int getPackageCount() { |
74 |
return 0; |
75 |
} |
76 |
|
77 |
@Override
|
78 |
public PackageInfo getPackageInfo(int index) { |
79 |
return null; |
80 |
} |
81 |
|
82 |
@Override
|
83 |
public PackageInfo getPackageInfo(String packageCode) { |
84 |
return null; |
85 |
} |
86 |
|
87 |
@Override
|
88 |
public void downloadPackage(PackageInfo packageInfo, |
89 |
SimpleTaskStatus taskStatus) throws InstallPackageServiceException {
|
90 |
} |
91 |
|
92 |
@Override
|
93 |
public List<String> getDefaultSelectedPackagesIDs() { |
94 |
return null; |
95 |
} |
96 |
|
97 |
@Override
|
98 |
public List<String> getCategories() { |
99 |
// TODO Auto-generated method stub
|
100 |
return null; |
101 |
} |
102 |
|
103 |
@Override
|
104 |
public List<String> getTypes() { |
105 |
// TODO Auto-generated method stub
|
106 |
return null; |
107 |
} |
108 |
|
109 |
@Override
|
110 |
public Properties getProperties() { |
111 |
return new Properties(); |
112 |
} |
113 |
|
114 |
@Override
|
115 |
public boolean needInstallPackageProviders() { |
116 |
return false; |
117 |
} |
118 |
|
119 |
@Override
|
120 |
public void installPackageProviders(SimpleTaskStatus taskStatus) { |
121 |
} |
122 |
|
123 |
|
124 |
} |