java.lang.Object
com.thermidor.build.tasks.InstallTask.BackupAction
com.thermidor.build.tasks.InstallTask.BackupNumbered
- Enclosing class:
- InstallTask
- public static class InstallTask.BackupNumbered
- extends InstallTask.BackupAction
Make numbered backups of the files that are to be replaced. This mode
follows the same for as that employed by the GNU file utils. For example
the first backup will be of the form 'build.xml.~1~'
- Version:
- 1.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstallTask.BackupNumbered
public InstallTask.BackupNumbered()
backup
public void backup(java.io.File file,
java.lang.String suffix)
throws java.io.IOException
- The numbered backup mode.
Backup the specified file using the numbering scheme. In this case the
suffix will be ignored. The numbering scheme ignores missing backup
numbers and will always create a new backup that is on higher than
any in the directory.
- Specified by:
backup in class InstallTask.BackupAction