Package org.modelmapper.spi
Enum ConditionalConverter.MatchResult
- java.lang.Object
-
- java.lang.Enum<ConditionalConverter.MatchResult>
-
- org.modelmapper.spi.ConditionalConverter.MatchResult
-
- All Implemented Interfaces:
Serializable
,Comparable<ConditionalConverter.MatchResult>
- Enclosing interface:
- ConditionalConverter<S,D>
public static enum ConditionalConverter.MatchResult extends Enum<ConditionalConverter.MatchResult>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConditionalConverter.MatchResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConditionalConverter.MatchResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULL
public static final ConditionalConverter.MatchResult FULL
Indicates that the source and destination types were matched.
-
PARTIAL
public static final ConditionalConverter.MatchResult PARTIAL
Indicates that only the destination type was matched.
-
NONE
public static final ConditionalConverter.MatchResult NONE
Indicates that the destination type was not matched.
-
-
Method Detail
-
values
public static ConditionalConverter.MatchResult[] 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 (ConditionalConverter.MatchResult c : ConditionalConverter.MatchResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConditionalConverter.MatchResult 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
-
-