public class CopyFileEvent extends AbstractTransactionEvent
| Constructor and Description |
|---|
CopyFileEvent(File source,
File destination,
List<? extends org.codehaus.plexus.digest.Digester> digesters) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Commit this event.
|
void |
rollback()
Rollback the even already committed.
|
createBackup, createChecksums, getDigesterFileExtension, getDigesters, mkDirs, restoreBackup, restoreBackups, revertFilesCreated, revertMkDirs, writeStringToFilepublic void commit()
throws IOException
TransactionEventIOException - if an error occurred committing the changepublic void rollback()
throws IOException
TransactionEventIOException - if an error occurred reverting the changeCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.