|
install4j API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface InstallAction
All install actions must implement this interface. You have to override all methods and provide a public constructor with no arguments. It is recommended that you choose one of the derived abstract classes as a super class.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface com.install4j.api.actions.Action |
|---|
init |
| Method Detail |
|---|
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()
|
install4j API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||