Package jetbrains.mps.migration.global
Class BaseProjectMigration
- java.lang.Object
 - 
- jetbrains.mps.migration.global.BaseProjectMigration
 
 
- 
- All Implemented Interfaces:
 ProjectMigration
public abstract class BaseProjectMigration extends Object implements ProjectMigration
A migration that runs only once and does not run on a newly created project 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringEXECUTED_VALUEStringmigrationId 
- 
Constructor Summary
Constructors Constructor Description BaseProjectMigration(String migrationId) 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidapplyToCreatedProject(Project p)abstract booleandoExecute(Project p)voidexecute(Project p)booleanisRerunnable()voidsetExecuted(Project p)Deprecated.voidsetExecuted(Project p, boolean executed)booleanshouldBeExecuted(Project p)- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface jetbrains.mps.migration.global.ProjectMigration
getDescription 
 - 
 
 - 
 
- 
- 
Field Detail
- 
EXECUTED_VALUE
public static final String EXECUTED_VALUE
- See Also:
 - Constant Field Values
 
 
- 
migrationId
public final String migrationId
 
 - 
 
- 
Constructor Detail
- 
BaseProjectMigration
public BaseProjectMigration(String migrationId)
 
 - 
 
- 
Method Detail
- 
shouldBeExecuted
public final boolean shouldBeExecuted(Project p)
- Specified by:
 shouldBeExecutedin interfaceProjectMigration
 
- 
isRerunnable
public boolean isRerunnable()
- Specified by:
 isRerunnablein interfaceProjectMigration
 
- 
execute
public final void execute(Project p)
- Specified by:
 executein interfaceProjectMigration
 
- 
doExecute
public abstract boolean doExecute(Project p)
 
- 
setExecuted
@Deprecated public final void setExecuted(Project p)
Deprecated. 
- 
applyToCreatedProject
public void applyToCreatedProject(Project p)
- Specified by:
 applyToCreatedProjectin interfaceProjectMigration
 
 - 
 
 -