com.vaadin.server.
Enum DeploymentConfiguration.LegacyProperyToStringMode
- java.lang.Object
-
- java.lang.Enum<DeploymentConfiguration.LegacyProperyToStringMode>
-
- com.vaadin.server.DeploymentConfiguration.LegacyProperyToStringMode
-
All Implemented Interfaces:
Serializable
,Comparable<DeploymentConfiguration.LegacyProperyToStringMode>
Enclosing interface:
@Deprecated public static enum DeploymentConfiguration.LegacyProperyToStringMode extends Enum<DeploymentConfiguration.LegacyProperyToStringMode>
Deprecated.Determines the mode of the "legacyPropertyToString" parameter.
Since:
7.1
Author:
Vaadin Ltd
-
-
Method Summary
All Methods Modifier and Type Method Description String
getPropertyString()
Deprecated.
Gets the string that should be used in e.g.
String
toString()
Deprecated.
boolean
useLegacyMode()
Deprecated.
static DeploymentConfiguration.LegacyProperyToStringMode
valueOf​(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
static DeploymentConfiguration.LegacyProperyToStringMode[]
values()
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final DeploymentConfiguration.LegacyProperyToStringMode DISABLED
Deprecated.
-
WARNING
public static final DeploymentConfiguration.LegacyProperyToStringMode WARNING
Deprecated.
-
ENABLED
public static final DeploymentConfiguration.LegacyProperyToStringMode ENABLED
Deprecated.
-
-
Method Detail
-
values
public static DeploymentConfiguration.LegacyProperyToStringMode[] 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 (DeploymentConfiguration.LegacyProperyToStringMode c : DeploymentConfiguration.LegacyProperyToStringMode.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeploymentConfiguration.LegacyProperyToStringMode 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
-
getPropertyString
public String getPropertyString()
Deprecated.Gets the string that should be used in e.g. web.xml for selecting this mode.
Returns:
the property value
-
toString
public String toString()
Deprecated.Overrides:
toString
in classEnum<DeploymentConfiguration.LegacyProperyToStringMode>
-
useLegacyMode
public boolean useLegacyMode()
Deprecated.
-
-