Class RollbackTransactionResource

java.lang.Object
com.atlassian.bamboo.plugins.testutils.rest.resource.RollbackTransactionResource

@Path("rollback") @Consumes("application/json") @Produces("application/json") @Singleton public class RollbackTransactionResource extends Object
Resource to allow tests to cause rollbacks
See Also:
  • Field Details

  • Constructor Details

    • RollbackTransactionResource

      @Inject public RollbackTransactionResource()
  • Method Details

    • setMethodToRollback

      @POST public javax.ws.rs.core.Response setMethodToRollback(RestRollback rollback)
      Mark an event so the next time it is fired it will cause a transaction rollback. Obviously only works for synchronous events
      Parameters:
      rollback -
      Returns: