public interface InstallAction extends Action
Modifier and Type | Method and Description |
---|---|
boolean |
install(InstallerContext context)
This method is called by the framework to perform the action during installation.
|
boolean |
isRollbackSupported()
This method is called by the framework to determine if the action supports a rollback.
|
void |
rollback(InstallerContext context)
This method is called by the framework to perform a rollback of the install method.
|
boolean install(InstallerContext context) throws UserCanceledException
context
- the context of the installation.UserCanceledException
- thrown for example by file installation methods. You can let
these exceptions pass through, they will be handled by the framework.void rollback(InstallerContext context)
context
- the context of the installation.boolean isRollbackSupported()