public class PluginInstallerExecutionProvider extends AbstractProvider implements InstallPackageProvider
Modifier and Type | Class and Description |
---|---|
class |
PluginInstallerExecutionProvider.InstallerPluginsDirectoryNotFoundException |
Constructor and Description |
---|
PluginInstallerExecutionProvider(ProviderServices providerServices) |
Modifier and Type | Method and Description |
---|---|
void |
install(File applicationDirectory,
InputStream inputStream,
PackageInfo packageInfo)
This method install a package in a valid gvSIG directory.
|
void |
installLater(File applicationDirectory,
InputStream inputStream,
PackageInfo packageInfo)
This function will is called when an exception is produced during the
installation of a plugin.
|
getProviderServices, setProviderServices
public PluginInstallerExecutionProvider(ProviderServices providerServices)
public void install(File applicationDirectory, InputStream inputStream, PackageInfo packageInfo) throws InstallPackageServiceException
InstallPackageProvider
install
in interface InstallPackageProvider
applicationDirectory
- the directory where gvSIG is located.inputStream
- the stream that contains the package information.InstallPackageServiceException
- if there is a problem reading the stream or installing the
package.public void installLater(File applicationDirectory, InputStream inputStream, PackageInfo packageInfo) throws InstallPackageServiceException, IOException
installLater
in interface InstallPackageProvider
InstallPackageServiceException
IOException