|
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.AbstractInstallAction
public abstract class AbstractInstallAction
Abstract base class for install actions. The rollback method does nothing by default. Override it in your action to perform an actual rollback.
| Constructor Summary | |
|---|---|
AbstractInstallAction()
|
|
| 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 |
| Constructor Detail |
|---|
public AbstractInstallAction()
| 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 | ||||||||