This project has retired. For details please refer to its Attic page.
TransactionEvent

org.apache.maven.archiva.transaction
Interface TransactionEvent

Package class diagram package TransactionEvent
All Known Implementing Classes:
AbstractTransactionEvent, CopyFileEvent, CreateFileEvent

public interface TransactionEvent

Interface for individual events in a transaction.


Method Summary
 void commit()
          Commit this event.
 void rollback()
          Rollback the even already committed.
 

Method Detail

commit

void commit()
            throws java.io.IOException
Commit this event.

Throws:
java.io.IOException - if an error occurred committing the change

rollback

void rollback()
              throws java.io.IOException
Rollback the even already committed.

Throws:
java.io.IOException - if an error occurred reverting the change