Package com.vaadin.classic.v8.server
Class Helpers
- java.lang.Object
-
- com.vaadin.classic.v8.server.Helpers
-
- All Implemented Interfaces:
java.io.Serializable
public class Helpers extends java.lang.Object implements java.io.SerializableHelper class for classic component pack internal things.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringUNSUPPORTED_API_LOGGER_NAMEstatic java.lang.StringVAADIN_7_SYSTEM_PROPERTY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisVaadin7Defaults()Checks whether the Vaadin 7 defaults should be used or not.static voidlogUnsupportedApiCall(java.lang.Class<?> clazz, java.lang.String methodName)Logs out a warning in development mode about unsupported API call of the given method in the given class.
-
-
-
Field Detail
-
UNSUPPORTED_API_LOGGER_NAME
public static final java.lang.String UNSUPPORTED_API_LOGGER_NAME
- See Also:
- Constant Field Values
-
VAADIN_7_SYSTEM_PROPERTY
public static final java.lang.String VAADIN_7_SYSTEM_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
logUnsupportedApiCall
public static void logUnsupportedApiCall(java.lang.Class<?> clazz, java.lang.String methodName)Logs out a warning in development mode about unsupported API call of the given method in the given class.- Parameters:
clazz- the class that was calledmethodName- the name of the unsupported method that was called
-
isVaadin7Defaults
public static boolean isVaadin7Defaults()
Checks whether the Vaadin 7 defaults should be used or not.- Returns:
trueto use V7 defaults,falseto not and use V8 defaults
-
-