org.alfresco.repo.action.scheduled
Class AbstractScheduledAction.TransactionMode

java.lang.Object
  extended by java.lang.Enum
      extended by org.alfresco.repo.action.scheduled.AbstractScheduledAction.TransactionMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Enclosing class:
AbstractScheduledAction

public static final class AbstractScheduledAction.TransactionMode
extends java.lang.Enum

Enum to define the transaction mode.

See Also:
Serialized Form

Field Summary
static AbstractScheduledAction.TransactionMode ISOLATED_TRANSACTIONS
          Run Each action in an isolated transaction
static AbstractScheduledAction.TransactionMode ONE_TRANSACTION
          Run in one big transaction.
static AbstractScheduledAction.TransactionMode UNTIL_FIRST_FAILURE
          Run each action in anisolated transaction, but stop at the first failure
 
Method Summary
static AbstractScheduledAction.TransactionMode getTransactionMode(java.lang.String transactionModeString)
          Generate a mode from a string.
static AbstractScheduledAction.TransactionMode valueOf(java.lang.String name)
           
static AbstractScheduledAction.TransactionMode[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ISOLATED_TRANSACTIONS

public static final AbstractScheduledAction.TransactionMode ISOLATED_TRANSACTIONS
Run Each action in an isolated transaction


UNTIL_FIRST_FAILURE

public static final AbstractScheduledAction.TransactionMode UNTIL_FIRST_FAILURE
Run each action in anisolated transaction, but stop at the first failure


ONE_TRANSACTION

public static final AbstractScheduledAction.TransactionMode ONE_TRANSACTION
Run in one big transaction. Any failure rolls the whole lot b ack

Method Detail

values

public static AbstractScheduledAction.TransactionMode[] values()

valueOf

public static AbstractScheduledAction.TransactionMode valueOf(java.lang.String name)

getTransactionMode

public static AbstractScheduledAction.TransactionMode getTransactionMode(java.lang.String transactionModeString)
Generate a mode from a string.

Parameters:
transactionModeString -
Returns:
- the transaction mode.


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.