Class MockTransactionOperations

java.lang.Object
com.atlassian.bamboo.spring.MockTransactionOperations
All Implemented Interfaces:
org.springframework.transaction.support.TransactionOperations

public class MockTransactionOperations extends Object implements org.springframework.transaction.support.TransactionOperations
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static org.springframework.transaction.support.TransactionOperations
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    execute(org.springframework.transaction.support.TransactionCallback<T> action)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.transaction.support.TransactionOperations

    executeWithoutResult
  • Field Details

    • INSTANCE

      public static org.springframework.transaction.support.TransactionOperations INSTANCE
  • Method Details

    • execute

      public <T> T execute(org.springframework.transaction.support.TransactionCallback<T> action) throws org.springframework.transaction.TransactionException
      Specified by:
      execute in interface org.springframework.transaction.support.TransactionOperations
      Throws:
      org.springframework.transaction.TransactionException