com.neeve.aep
Enum AepEngine.InboundMessageLoggingFailurePolicy

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

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

Enumerates policies for handling inbound message logging failures.

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


Enum Constant Summary
StopEngine
          This policy specifies that a failure in inbound logging will be treated as a failure which will result in shutdown of the engine.
StopLogging
          This policy specifies that inbound message logging errors will be trapped and cause the engine to discontinue inbound message logging.
 
Method Summary
static AepEngine.InboundMessageLoggingFailurePolicy valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AepEngine.InboundMessageLoggingFailurePolicy[] 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.InboundMessageLoggingFailurePolicy StopLogging
This policy specifies that inbound message logging errors will be trapped and cause the engine to discontinue inbound message logging.


StopEngine

public static final AepEngine.InboundMessageLoggingFailurePolicy StopEngine
This policy specifies that a failure in inbound 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.InboundMessageLoggingFailurePolicy[] 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.InboundMessageLoggingFailurePolicy c : AepEngine.InboundMessageLoggingFailurePolicy.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.InboundMessageLoggingFailurePolicy 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.