com.uwyn.rife.engine.annotations
Enum Pathinfo.MappingPolicy
java.lang.Object
java.lang.Enum<Pathinfo.MappingPolicy>
com.uwyn.rife.engine.annotations.Pathinfo.MappingPolicy
- All Implemented Interfaces:
- Serializable, Comparable<Pathinfo.MappingPolicy>
- Enclosing class:
- Pathinfo
public static enum Pathinfo.MappingPolicy
- extends Enum<Pathinfo.MappingPolicy>
The possible pathinfo mapping policies. A LOOSE policy
executes the element even if none of the mappings match. A
STRICT policy only executes the element if at least one
mapping matches.
- Since:
- 1.5
LOOSE
public static final Pathinfo.MappingPolicy LOOSE
STRICT
public static final Pathinfo.MappingPolicy STRICT
values
public static Pathinfo.MappingPolicy[] 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 (Pathinfo.MappingPolicy c : Pathinfo.MappingPolicy.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Pathinfo.MappingPolicy 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 © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.