com.consol.citrus.message
Enum MessageSender.ErrorHandlingStrategy

java.lang.Object
  extended by java.lang.Enum<MessageSender.ErrorHandlingStrategy>
      extended by com.consol.citrus.message.MessageSender.ErrorHandlingStrategy
All Implemented Interfaces:
Serializable, Comparable<MessageSender.ErrorHandlingStrategy>
Enclosing interface:
MessageSender

public static enum MessageSender.ErrorHandlingStrategy
extends Enum<MessageSender.ErrorHandlingStrategy>

Enumeration representing the different error handling strategies for this reply message handler.


Enum Constant Summary
PROPAGATE
           
THROWS_EXCEPTION
           
 
Method Summary
static MessageSender.ErrorHandlingStrategy fromName(String name)
          Gets the strategy from given name representation.
 String getName()
          Gets the name representation.
static MessageSender.ErrorHandlingStrategy valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MessageSender.ErrorHandlingStrategy[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

THROWS_EXCEPTION

public static final MessageSender.ErrorHandlingStrategy THROWS_EXCEPTION

PROPAGATE

public static final MessageSender.ErrorHandlingStrategy PROPAGATE
Method Detail

values

public static MessageSender.ErrorHandlingStrategy[] 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 (MessageSender.ErrorHandlingStrategy c : MessageSender.ErrorHandlingStrategy.values())
    System.out.println(c);

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

valueOf

public static MessageSender.ErrorHandlingStrategy 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

fromName

public static MessageSender.ErrorHandlingStrategy fromName(String name)
Gets the strategy from given name representation.

Parameters:
name -
Returns:

getName

public String getName()
Gets the name representation.

Returns:
the name


Copyright © 2008-2013 ConSol* Consulting&Solutions GmbH. All Rights Reserved.