org.apache.archiva.transaction
Interface 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 IOException
Commit this event.

Throws:
IOException - if an error occurred committing the change

rollback

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

Throws:
IOException - if an error occurred reverting the change


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.