Package org.ametys.core.migration.action
Interface JavaActionComponent
public interface JavaActionComponent
Interface that must be implemented by java class used as upgrade action
-
Method Summary
Modifier and TypeMethodDescriptionvoiddoAction(Version version, JavaAction.JavaActionConfiguration actionData) Run the action with the provided data
-
Method Details
-
doAction
void doAction(Version version, JavaAction.JavaActionConfiguration actionData) throws MigrationException Run the action with the provided data- Parameters:
version- the version being migrated toactionData- data needed to do the action- Throws:
MigrationException- Something went wrong
-