Enum ReadOnlyStringMapResolver.LoopMethod
java.lang.Object
java.lang.Enum<ReadOnlyStringMapResolver.LoopMethod>
org.apache.logging.log4j.layout.template.json.resolver.ReadOnlyStringMapResolver.LoopMethod
- All Implemented Interfaces:
Serializable
,Comparable<ReadOnlyStringMapResolver.LoopMethod>
,java.lang.constant.Constable
,TriConsumer<String,
Object, ReadOnlyStringMapResolver.LoopContext>
- Enclosing class:
- ReadOnlyStringMapResolver
private static enum ReadOnlyStringMapResolver.LoopMethod
extends Enum<ReadOnlyStringMapResolver.LoopMethod>
implements TriConsumer<String,Object,ReadOnlyStringMapResolver.LoopContext>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(String key, Object value, ReadOnlyStringMapResolver.LoopContext loopContext) Performs the operation given the specified arguments.Returns the enum constant of this type with the specified name.static ReadOnlyStringMapResolver.LoopMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
Constructor Details
-
LoopMethod
private LoopMethod()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
accept
Description copied from interface:TriConsumer
Performs the operation given the specified arguments.- Specified by:
accept
in interfaceTriConsumer<String,
Object, ReadOnlyStringMapResolver.LoopContext> - Parameters:
key
- the first input argumentvalue
- the second input argumentloopContext
- the third input argument
-