public final class DeploymentConfigurationFactory extends Object implements Serializable
DeploymentConfiguration
filled with all parameters specified
by the framework users.Modifier and Type | Field and Description |
---|---|
static String |
DEV_FOLDER_MISSING_MESSAGE |
static Object |
DEV_MODE_ENABLE_STRATEGY |
static String |
ERROR_COMPATIBILITY_MODE_UNSET |
static String |
ERROR_DEV_MODE_NO_FILES |
static Object |
FALLBACK_CHUNK |
Modifier and Type | Method and Description |
---|---|
static DeploymentConfiguration |
createDeploymentConfiguration(Class<?> systemPropertyBaseClass,
VaadinConfig vaadinConfig)
Creates a
DeploymentConfiguration instance that is filled with
all parameters, specified for the current app. |
protected static Properties |
createInitParameters(Class<?> systemPropertyBaseClass,
VaadinConfig vaadinConfig)
Generate Property containing parameters for with all parameters contained
in current application.
|
static DeploymentConfiguration |
createPropertyDeploymentConfiguration(Class<?> systemPropertyBaseClass,
VaadinConfig vaadinConfig)
Creates a
DeploymentConfiguration instance that has all
parameters, specified for the current app without doing checks so
property states and only returns default. |
public static final Object DEV_MODE_ENABLE_STRATEGY
public static final Object FALLBACK_CHUNK
public static final String ERROR_COMPATIBILITY_MODE_UNSET
public static final String ERROR_DEV_MODE_NO_FILES
public static final String DEV_FOLDER_MISSING_MESSAGE
public static DeploymentConfiguration createDeploymentConfiguration(Class<?> systemPropertyBaseClass, VaadinConfig vaadinConfig) throws VaadinConfigurationException
DeploymentConfiguration
instance that is filled with
all parameters, specified for the current app.systemPropertyBaseClass
- the class to look for properties defined with annotationsvaadinConfig
- the config to get the rest of the properties fromDeploymentConfiguration
instanceVaadinConfigurationException
- thrown if property construction failspublic static DeploymentConfiguration createPropertyDeploymentConfiguration(Class<?> systemPropertyBaseClass, VaadinConfig vaadinConfig) throws VaadinConfigurationException
DeploymentConfiguration
instance that has all
parameters, specified for the current app without doing checks so
property states and only returns default.systemPropertyBaseClass
- the class to look for properties defined with annotationsvaadinConfig
- the config to get the rest of the properties fromDeploymentConfiguration
instanceVaadinConfigurationException
- thrown if property construction failsprotected static Properties createInitParameters(Class<?> systemPropertyBaseClass, VaadinConfig vaadinConfig) throws VaadinConfigurationException
systemPropertyBaseClass
- the class to look for properties defined with annotationsvaadinConfig
- the config to get the rest of the properties fromProperties
instanceVaadinConfigurationException
- thrown if property construction failsCopyright © 2020. All rights reserved.