|
[ source navigation ] [ diff markup ] [ identifier search ] [ general search ] |
|||||
|
||||||
001 /************************************************************************* 002 * 003 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 004 * 005 * Copyright 2008 by Sun Microsystems, Inc. 006 * 007 * OpenOffice.org - a multi-platform office productivity suite 008 * 009 * $RCSfile: Installer.java,v $ 010 * $Revision: 1.4 $ 011 * 012 * This file is part of OpenOffice.org. 013 * 014 * OpenOffice.org is free software: you can redistribute it and/or modify 015 * it under the terms of the GNU Lesser General Public License version 3 016 * only, as published by the Free Software Foundation. 017 * 018 * OpenOffice.org is distributed in the hope that it will be useful, 019 * but WITHOUT ANY WARRANTY; without even the implied warranty of 020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 021 * GNU Lesser General Public License version 3 for more details 022 * (a copy is included in the LICENSE file that accompanied this code). 023 * 024 * You should have received a copy of the GNU Lesser General Public License 025 * version 3 along with OpenOffice.org. If not, see 026 * <http://www.openoffice.org/license.html> 027 * for a copy of the LGPLv3 License. 028 * 029 ************************************************************************/ 030 031 package org.openoffice.setup.Installer; 032 033 import org.openoffice.setup.InstallData; 034 import org.openoffice.setup.SetupData.PackageDescription; 035 036 public abstract class Installer { 037 038 public Installer() { 039 } 040 041 public void preInstall(PackageDescription packageData) { 042 } 043 044 public void postInstall(PackageDescription packageData) { 045 } 046 047 public void preUninstall(PackageDescription packageData) { 048 } 049 050 public void postUninstall(PackageDescription packageData) { 051 } 052 053 public void preInstallationOngoing () { 054 } 055 056 public void postInstallationOngoing () { 057 } 058 059 public void postUninstallationOngoing () { 060 } 061 062 public void defineDatabasePath() { 063 } 064 065 public String getChangeInstallDir(PackageDescription packageData) { 066 return null; 067 } 068 069 public boolean isPackageNameInstalled(String packageName, InstallData installData) { 070 return false; 071 } 072 073 public abstract void installPackage(PackageDescription packageData); 074 075 public abstract void uninstallPackage(PackageDescription packageData); 076 077 public abstract boolean isPackageInstalled(PackageDescription packageData, InstallData installData); 078 079 public abstract boolean isInstalledPackageOlder(PackageDescription packageData, InstallData installData); 080 081 public abstract boolean isInstallSetPackageOlder(PackageDescription packageData, InstallData installData); 082 }
| [ source navigation ] | [ diff markup ] | [ identifier search ] | [ general search ] |
| This page was automatically generated by the LXR engine. The LXR team |
|