Revision 34005 branches/v2_0_0_prep/extensions/org.gvsig.installer/org.gvsig.installer.lib/org.gvsig.installer.lib.api/src/main/java/org/gvsig/installer/lib/api/InstallerManager.java
InstallerManager.java | ||
---|---|---|
138 | 138 |
/** |
139 | 139 |
* Fields into the bundle file name message format. |
140 | 140 |
* |
141 |
* @see InstallerManager#getPackageBundleNameFormat()
|
|
142 |
* @see InstallerManager#setPackageBundleNameFormat(String)
|
|
141 |
* @see InstallerManager#getPackageSetNameFormat()
|
|
142 |
* @see InstallerManager#setPackageSetNameFormat(String)
|
|
143 | 143 |
*/ |
144 |
public static interface BUNDLE_FILE_NAME_FIELDS {
|
|
144 |
public static interface PACKAGE_FILE_NAME_FIELDS {
|
|
145 | 145 |
|
146 | 146 |
static final int GVSIG_VERSION = 0; |
147 | 147 |
static final int NAME = 1; |
... | ... | |
202 | 202 |
* |
203 | 203 |
* @return the package bundle file name format. |
204 | 204 |
*/ |
205 |
public String getPackageBundleNameFormat();
|
|
205 |
public String getPackageSetNameFormat();
|
|
206 | 206 |
|
207 | 207 |
/** |
208 | 208 |
* Sets the package bundle file name format. |
209 | 209 |
* |
210 |
* @see InstallerManager#getPackageBundleNameFormat()
|
|
210 |
* @see InstallerManager#getPackageSetNameFormat()
|
|
211 | 211 |
* @param packageBundleNameFormat |
212 | 212 |
* the package bundle file name format. |
213 | 213 |
*/ |
214 |
public void setPackageBundleNameFormat(String packageBundleNameFormat);
|
|
214 |
public void setPackageSetNameFormat(String packageBundleNameFormat);
|
|
215 | 215 |
|
216 | 216 |
/** |
217 |
* Returns the name of the package bundle file for a given package info.
|
|
217 |
* Returns the name of the package set file for a given package info.
|
|
218 | 218 |
* |
219 | 219 |
* @param info |
220 | 220 |
* of the plugin |
221 |
* @return the name of the package bundle file
|
|
221 |
* @return the name of the package set file
|
|
222 | 222 |
*/ |
223 |
public String getPackageBundleFileName(PackageInfo info);
|
|
223 |
public String getPackageSetFileName(PackageInfo info);
|
|
224 | 224 |
|
225 | 225 |
/** |
226 |
* Returns the name of the package file for a given package info. |
|
227 |
* |
|
228 |
* @param info |
|
229 |
* of the plugin |
|
230 |
* @return the name of the package file |
|
231 |
*/ |
|
232 |
public String getPackageFileName(PackageInfo info); |
|
233 |
|
|
234 |
/** |
|
226 | 235 |
* It registers a class that implements the service for the installation |
227 | 236 |
* of a package that is inside a bundle. This class has to implement |
228 | 237 |
* the {@link InstallPackageService} interface. |
... | ... | |
246 | 255 |
*/ |
247 | 256 |
public InstallPackageService getInstallPackageService() |
248 | 257 |
throws InstallPackageServiceException; |
258 |
|
|
259 |
/** |
|
260 |
* Returns the default extensions of the package files. |
|
261 |
* |
|
262 |
* @return the default extensions of the package files |
|
263 |
*/ |
|
264 |
public String getDefaultPackageFileExtension(); |
|
265 |
|
|
266 |
/** |
|
267 |
* Returns the default extensions of the package set files. |
|
268 |
* |
|
269 |
* @return the default extensions of the package set files |
|
270 |
*/ |
|
271 |
public String getDefaultPackageSetFileExtension(); |
|
249 | 272 |
} |
Also available in: Unified diff