public class MigrationTask
extends org.apache.tools.ant.Task
| Constructor and Description |
|---|
MigrationTask()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
void |
setDest(File dest)
Set the destination file.
|
void |
setExcludes(String excludes)
Set exclusion patterns.
|
void |
setMatchExcludesAgainstPathName(boolean matchExcludesAgainstPathName)
Enable exclude matching against the path name.
|
void |
setProfile(String profile)
Set the profile that should be used.
|
void |
setSrc(File src)
Set the source file.
|
void |
setZipInMemory(boolean zipInMemory)
Set the option to handle compressed archive entries in memory.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void setSrc(File src)
src - the source filepublic void setDest(File dest)
dest - the destination filepublic void setProfile(String profile)
profile - the profile to be usedpublic void setZipInMemory(boolean zipInMemory)
zipInMemory - true to buffer in memorypublic void setExcludes(String excludes)
excludes - Comma separated, case sensitive list of glob patterns
for files to excludepublic void setMatchExcludesAgainstPathName(boolean matchExcludesAgainstPathName)
matchExcludesAgainstPathName - true to match excludes against the path name instead of the file namepublic void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionCopyright © 2020–2022 The Apache Software Foundation. All rights reserved.