Enum DefaultConverterFactory.InstantiationStrategy
- java.lang.Object
-
- java.lang.Enum<DefaultConverterFactory.InstantiationStrategy>
-
- com.atlassian.bamboo.utils.xstream.converters.DefaultConverterFactory.InstantiationStrategy
-
- All Implemented Interfaces:
Serializable
,Comparable<DefaultConverterFactory.InstantiationStrategy>
- Enclosing class:
- DefaultConverterFactory
public static enum DefaultConverterFactory.InstantiationStrategy extends Enum<DefaultConverterFactory.InstantiationStrategy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description USING_MAPPER
USING_XSTREAM
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DefaultConverterFactory.InstantiationStrategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static DefaultConverterFactory.InstantiationStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USING_XSTREAM
public static final DefaultConverterFactory.InstantiationStrategy USING_XSTREAM
-
USING_MAPPER
public static final DefaultConverterFactory.InstantiationStrategy USING_MAPPER
-
-
Method Detail
-
values
public static DefaultConverterFactory.InstantiationStrategy[] 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 (DefaultConverterFactory.InstantiationStrategy c : DefaultConverterFactory.InstantiationStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultConverterFactory.InstantiationStrategy 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
-
-