de.danet.an.workflow.api
Interface Batch.Context

Enclosing interface:
Batch

public static interface Batch.Context

This interface specifies a simple contract between a batch and its execution environment.


Method Summary
 boolean isRollbackOnly()
          Indicates if the transaction the batch is running in will eventually be rolled back.
 

Method Detail

isRollbackOnly

public boolean isRollbackOnly()
Indicates if the transaction the batch is running in will eventually be rolled back. Continuing the execution of a batch if this method returns true is pointless.

Returns:
true if the current transaction will be rolled back.