|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.archiva.transaction.AbstractTransactionEvent
org.apache.maven.archiva.transaction.CopyFileEvent
public class CopyFileEvent
Event to copy a file.
| Constructor Summary | |
|---|---|
CopyFileEvent(java.io.File source,
java.io.File destination,
java.util.List<org.codehaus.plexus.digest.Digester> digesters)
|
|
| Method Summary | |
|---|---|
void |
commit()
Commit this event. |
void |
rollback()
Rollback the even already committed. |
| Methods inherited from class org.apache.maven.archiva.transaction.AbstractTransactionEvent |
|---|
createBackup, createChecksums, getDigesterFileExtension, getDigesters, mkDirs, restoreBackup, restoreBackups, revertFilesCreated, revertMkDirs, writeStringToFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CopyFileEvent(java.io.File source,
java.io.File destination,
java.util.List<org.codehaus.plexus.digest.Digester> digesters)
source - destination - digesters - List<Digester> digesters to use for checksumming| Method Detail |
|---|
public void commit()
throws java.io.IOException
TransactionEvent
java.io.IOException - if an error occurred committing the change
public void rollback()
throws java.io.IOException
TransactionEvent
java.io.IOException - if an error occurred reverting the change
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||