Package org.ametys.runtime.parameter
Enum ParameterHelper.ParameterType
- java.lang.Object
-
- java.lang.Enum<ParameterHelper.ParameterType>
-
- org.ametys.runtime.parameter.ParameterHelper.ParameterType
-
- All Implemented Interfaces:
Serializable
,Comparable<ParameterHelper.ParameterType>
- Enclosing class:
- ParameterHelper
@Deprecated public static enum ParameterHelper.ParameterType extends Enum<ParameterHelper.ParameterType>
Deprecated.UseElementType
Enumeration of supported types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BINARY
Deprecated.binary valuesBOOLEAN
Deprecated.boolean valuesDATASOURCE
Deprecated.datasource valuesDATE
Deprecated.date valuesDOUBLE
Deprecated.double valuesLONG
Deprecated.long valuesPASSWORD
Deprecated.password valuesSTRING
Deprecated.string values
-
Constructor Summary
Constructors Modifier Constructor Description private
ParameterType()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ParameterHelper.ParameterType
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static ParameterHelper.ParameterType[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN
public static final ParameterHelper.ParameterType BOOLEAN
Deprecated.boolean values
-
STRING
public static final ParameterHelper.ParameterType STRING
Deprecated.string values
-
PASSWORD
public static final ParameterHelper.ParameterType PASSWORD
Deprecated.password values
-
LONG
public static final ParameterHelper.ParameterType LONG
Deprecated.long values
-
DOUBLE
public static final ParameterHelper.ParameterType DOUBLE
Deprecated.double values
-
DATE
public static final ParameterHelper.ParameterType DATE
Deprecated.date values
-
BINARY
public static final ParameterHelper.ParameterType BINARY
Deprecated.binary values
-
DATASOURCE
public static final ParameterHelper.ParameterType DATASOURCE
Deprecated.datasource values
-
-
Constructor Detail
-
ParameterType
private ParameterType()
Deprecated.
-
-
Method Detail
-
values
public static ParameterHelper.ParameterType[] values()
Deprecated.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 (ParameterHelper.ParameterType c : ParameterHelper.ParameterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParameterHelper.ParameterType valueOf(String name)
Deprecated.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
-
-