Enum MessageContextLookup.Direction
- java.lang.Object
-
- java.lang.Enum<MessageContextLookup.Direction>
-
- org.opensaml.messaging.context.navigate.MessageContextLookup.Direction
-
- All Implemented Interfaces:
Serializable,Comparable<MessageContextLookup.Direction>
- Enclosing class:
- MessageContextLookup<StartContext extends BaseContext>
public static enum MessageContextLookup.Direction extends Enum<MessageContextLookup.Direction>
Used to indicate the target message context.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INBOUNDIndicates to use the inbound message context, obtained viaInOutOperationContext.getInboundMessageContext().OUTBOUNDIndicates to use the outbound message context, obtained viaInOutOperationContext.getOutboundMessageContext().
-
Constructor Summary
Constructors Modifier Constructor Description privateDirection()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MessageContextLookup.DirectionvalueOf(String name)Returns the enum constant of this type with the specified name.static MessageContextLookup.Direction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INBOUND
public static final MessageContextLookup.Direction INBOUND
Indicates to use the inbound message context, obtained viaInOutOperationContext.getInboundMessageContext().
-
OUTBOUND
public static final MessageContextLookup.Direction OUTBOUND
Indicates to use the outbound message context, obtained viaInOutOperationContext.getOutboundMessageContext().
-
-
Method Detail
-
values
public static MessageContextLookup.Direction[] 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 (MessageContextLookup.Direction c : MessageContextLookup.Direction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageContextLookup.Direction 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 nameNullPointerException- if the argument is null
-
-