Package org.apache.tomcat.jakartaee
Class MigrationTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.apache.tomcat.jakartaee.MigrationTask
-
- All Implemented Interfaces:
Cloneable
public class MigrationTask extends org.apache.tools.ant.TaskAnt task for the Jakarta EE migration tool.
-
-
Constructor Summary
Constructors Constructor Description MigrationTask()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()voidsetDest(File dest)Set the destination file.voidsetExcludes(String excludes)Set exclusion patterns.voidsetProfile(String profile)Set the profile that should be used.voidsetSrc(File src)Set the source file.voidsetZipInMemory(boolean zipInMemory)Set the option to handle compressed archive entries in memory.-
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-
-
-
Method Detail
-
setSrc
public void setSrc(File src)
Set the source file.- Parameters:
src- the source file
-
setDest
public void setDest(File dest)
Set the destination file.- Parameters:
dest- the destination file
-
setProfile
public void setProfile(String profile)
Set the profile that should be used.- Parameters:
profile- the profile to be used
-
setZipInMemory
public void setZipInMemory(boolean zipInMemory)
Set the option to handle compressed archive entries in memory.- Parameters:
zipInMemory- true to buffer in memory
-
setExcludes
public void setExcludes(String excludes)
Set exclusion patterns.- Parameters:
excludes- Comma separated, case sensitive list of glob patterns for files to exclude
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-
-