Package dk.mada.jaxrs.generator.mpclient
Enum Class GeneratorOpts.PropertyConflictResolution
java.lang.Object
java.lang.Enum<GeneratorOpts.PropertyConflictResolution>
dk.mada.jaxrs.generator.mpclient.GeneratorOpts.PropertyConflictResolution
- All Implemented Interfaces:
Serializable
,Comparable<GeneratorOpts.PropertyConflictResolution>
,Constable
- Enclosing class:
- GeneratorOpts
public static enum GeneratorOpts.PropertyConflictResolution
extends Enum<GeneratorOpts.PropertyConflictResolution>
The resolution to use when a property has conflicting declarations.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionConverts property value enum value.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FAIL
Fails the code generator. -
CLEAR
Clears the conflicting information. -
FIRST
Uses the first declaration information.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
from
Converts property value enum value.- Parameters:
value
- the input property value- Returns:
- the matching property order enumeration
-