com.neeve.aep
Enum AepEngine.OutboundMessageLoggingFailurePolicy

java.lang.Object
  extended by java.lang.Enum<AepEngine.OutboundMessageLoggingFailurePolicy>
      extended by com.neeve.aep.AepEngine.OutboundMessageLoggingFailurePolicy
All Implemented Interfaces:
Serializable, Comparable<AepEngine.OutboundMessageLoggingFailurePolicy>
Enclosing class:
AepEngine

public static enum AepEngine.OutboundMessageLoggingFailurePolicy
extends Enum<AepEngine.OutboundMessageLoggingFailurePolicy>

Enumerates policies for handling outbound message logging failures.

This enumerates the policy that determines what to do in the event of an outbound message logging failure.


Enum Constant Summary
StopEngine
          This policy specifies that a failure in outbound logging will be treated as a failure which will result in shutdown of the engine.
StopLogging
          This policy specifies that outbound logging errors will be trapped and cause the engine to discontinue outbound message logging.
 
Method Summary
static AepEngine.OutboundMessageLoggingFailurePolicy valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AepEngine.OutboundMessageLoggingFailurePolicy[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

StopLogging

public static final AepEngine.OutboundMessageLoggingFailurePolicy StopLogging
This policy specifies that outbound logging errors will be trapped and cause the engine to discontinue outbound message logging.


StopEngine

public static final AepEngine.OutboundMessageLoggingFailurePolicy StopEngine
This policy specifies that a failure in outbound logging will be treated as a failure which will result in shutdown of the engine.

This is the default policy.

Method Detail

values

public static AepEngine.OutboundMessageLoggingFailurePolicy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AepEngine.OutboundMessageLoggingFailurePolicy c : AepEngine.OutboundMessageLoggingFailurePolicy.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AepEngine.OutboundMessageLoggingFailurePolicy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.