Package org.apache.tomcat.jakartaee
Class Migration
- java.lang.Object
-
- org.apache.tomcat.jakartaee.Migration
-
public class Migration extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMigration.State
-
Constructor Summary
Constructors Constructor Description Migration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExclude(String exclude)voidexecute()EESpecProfilegetEESpecProfile()Get the Jakarta EE profile being used.booleanhasConverted()NOTE: this method is not to indicate that no changes were made, but that the source can be used and satisfy the selected profile.voidsetDestination(File destination)voidsetEESpecProfile(EESpecProfile profile)Set the Jakarta EE specifications that should be used.voidsetEnableDefaultExcludes(boolean enableDefaultExcludes)voidsetSource(File source)voidsetZipInMemory(boolean zipInMemory)
-
-
-
Method Detail
-
setEESpecProfile
public void setEESpecProfile(EESpecProfile profile)
Set the Jakarta EE specifications that should be used.- Parameters:
profile- the Jakarta EE specification profile
-
getEESpecProfile
public EESpecProfile getEESpecProfile()
Get the Jakarta EE profile being used.- Returns:
- the profile
-
setEnableDefaultExcludes
public void setEnableDefaultExcludes(boolean enableDefaultExcludes)
-
setZipInMemory
public void setZipInMemory(boolean zipInMemory)
-
addExclude
public void addExclude(String exclude)
-
setSource
public void setSource(File source)
-
setDestination
public void setDestination(File destination)
-
hasConverted
public boolean hasConverted()
NOTE: this method is not to indicate that no changes were made, but that the source can be used and satisfy the selected profile.- Returns:
- true if converted occurs
-
execute
public void execute() throws IOException- Throws:
IOException
-
-