payment
- Version:
- $Revision: 1.1 $ $Date: 1997/04/25 12:26:41 $
- Author:
- N. Asokan ([email protected])
- See Also:
- Installer, Installer
-
checkProperties(Properties)
- Sanity check properties.
-
install(Properties, String)
- Take block specific actions during module installation
-
uninstall(Properties)
- Uninstall the module specified by the properties object (usually
the same Properties object used during the installation of the module)
install
public abstract void install(Properties props,
String pathname) throws InstallerException
- Take block specific actions during module installation
- Parameters:
- props - properties object initialised from the props.txt
file in the the distribution directory
- pathname - pathname to the distribution directory
- Throws: InstallerException
- when installation failed
uninstall
public abstract void uninstall(Properties props) throws InstallerException
- Uninstall the module specified by the properties object (usually
the same Properties object used during the installation of the module)
- Parameters:
- props - Properties object representing the module
- Throws: InstallerException
- when uninstall failed
checkProperties
public abstract boolean checkProperties(Properties props)
- Sanity check properties. The block may require certain properties
to be set (e.g. the payment block requires the property
purseClassName
to be set. This method must check the
props object to ensure that the mandatory properties are set.
- Parameters:
- props - Properties object representing the module
being installed
- Returns:
- true/false
All Packages Class Hierarchy This Package Previous Next Index