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

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

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

Enum to define if compensating actions are run.

See Also:
Serialized Form

Field Summary
static AbstractScheduledAction.CompensatingActionMode IGNORE
          Ignore compensating actions
static AbstractScheduledAction.CompensatingActionMode RUN_COMPENSATING_ACTIONS_ON_FAILURE
          If failure occurs run the comensating actions.
 
Method Summary
static AbstractScheduledAction.CompensatingActionMode getCompensatingActionMode(java.lang.String compensatingActionModeString)
          Parse a string to a compensating action mode - used in reading the config.
static AbstractScheduledAction.CompensatingActionMode valueOf(java.lang.String name)
           
static AbstractScheduledAction.CompensatingActionMode[] 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

RUN_COMPENSATING_ACTIONS_ON_FAILURE

public static final AbstractScheduledAction.CompensatingActionMode RUN_COMPENSATING_ACTIONS_ON_FAILURE
If failure occurs run the comensating actions.


IGNORE

public static final AbstractScheduledAction.CompensatingActionMode IGNORE
Ignore compensating actions

Method Detail

values

public static AbstractScheduledAction.CompensatingActionMode[] values()

valueOf

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

getCompensatingActionMode

public static AbstractScheduledAction.CompensatingActionMode getCompensatingActionMode(java.lang.String compensatingActionModeString)
Parse a string to a compensating action mode - used in reading the config.

Parameters:
compensatingActionModeString -
Returns:
- the compensating action mode.


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