|
install4j API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.install4j.api.beans.AbstractBean
com.install4j.api.actions.AbstractInstallOrUninstallAction
public abstract class AbstractInstallOrUninstallAction
Abstract base class for actions that can be used for installation or uninstallation. The rollback method does nothing by default. Override it in your action to perform an actual rollback.
| Constructor Summary | |
|---|---|
AbstractInstallOrUninstallAction()
|
|
| Method Summary | |
|---|---|
void |
init(Context context)
This method is called after the properties have been set |
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 class com.install4j.api.beans.AbstractBean |
|---|
replaceVariables, replaceVariables, replaceVariables, replaceVariables, replaceVariables, replaceVariables, replaceVariables, replaceVariables |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.install4j.api.actions.InstallAction |
|---|
install |
| Methods inherited from interface com.install4j.api.actions.UninstallAction |
|---|
uninstall |
| Constructor Detail |
|---|
public AbstractInstallOrUninstallAction()
| Method Detail |
|---|
public void rollback(InstallerContext context)
InstallAction
rollback in interface InstallActioncontext - the context of the installation.public void init(Context context)
Action
init in interface Actioncontext - the installation or uninstallation contextpublic boolean isRollbackSupported()
InstallAction
isRollbackSupported in interface InstallAction
|
install4j API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||