com.vaadin.server
Enum DeploymentConfiguration.LegacyProperyToStringMode

java.lang.Object
  extended by java.lang.Enum<DeploymentConfiguration.LegacyProperyToStringMode>
      extended by com.vaadin.server.DeploymentConfiguration.LegacyProperyToStringMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DeploymentConfiguration.LegacyProperyToStringMode>
Enclosing interface:
DeploymentConfiguration

Deprecated.

@Deprecated
public static enum DeploymentConfiguration.LegacyProperyToStringMode
extends java.lang.Enum<DeploymentConfiguration.LegacyProperyToStringMode>

Determines the mode of the "legacyPropertyToString" parameter.

Since:
7.1
Author:
Vaadin Ltd

Enum Constant Summary
DISABLED
          Deprecated.  
ENABLED
          Deprecated.  
WARNING
          Deprecated.  
 
Method Summary
 java.lang.String getPropertyString()
          Deprecated. Gets the string that should be used in e.g.
 java.lang.String toString()
          Deprecated.  
 boolean useLegacyMode()
          Deprecated.  
static DeploymentConfiguration.LegacyProperyToStringMode valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getPropertyString

public java.lang.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 java.lang.String toString()
Deprecated. 
Overrides:
toString in class java.lang.Enum<DeploymentConfiguration.LegacyProperyToStringMode>

useLegacyMode

public boolean useLegacyMode()
Deprecated. 


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.