Package com.vaadin.flow.server
Class DeploymentConfigurationFactory
- java.lang.Object
-
- com.vaadin.flow.server.startup.AbstractConfigurationFactory
-
- com.vaadin.flow.server.DeploymentConfigurationFactory
-
- All Implemented Interfaces:
Serializable
public class DeploymentConfigurationFactory extends AbstractConfigurationFactory implements Serializable
CreatesDeploymentConfigurationfilled with all parameters specified by the framework users.- Since:
- 1.2
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringERROR_DEV_MODE_NO_FILESstatic ObjectFALLBACK_CHUNK-
Fields inherited from class com.vaadin.flow.server.startup.AbstractConfigurationFactory
DEV_FOLDER_MISSING_MESSAGE
-
-
Constructor Summary
Constructors Constructor Description DeploymentConfigurationFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentConfigurationcreateDeploymentConfiguration(Class<?> systemPropertyBaseClass, VaadinConfig vaadinConfig)Creates aDeploymentConfigurationinstance that is filled with all parameters, specified for the current app.protected PropertiescreateInitParameters(Class<?> systemPropertyBaseClass, VaadinConfig vaadinConfig)Generate Property containing parameters for with all parameters contained in current application.DeploymentConfigurationcreatePropertyDeploymentConfiguration(Class<?> systemPropertyBaseClass, VaadinConfig vaadinConfig)Creates aDeploymentConfigurationinstance that has all parameters, specified for the current app without doing checks so property states and only returns default.-
Methods inherited from class com.vaadin.flow.server.startup.AbstractConfigurationFactory
getConfigParametersUsingTokenData, getTokenFileContent, setDevModePropertiesUsingTokenData, verifyFolderExists
-
-
-
-
Field Detail
-
FALLBACK_CHUNK
public static final Object FALLBACK_CHUNK
-
ERROR_DEV_MODE_NO_FILES
public static final String ERROR_DEV_MODE_NO_FILES
- See Also:
- Constant Field Values
-
-
Method Detail
-
createDeploymentConfiguration
public DeploymentConfiguration createDeploymentConfiguration(Class<?> systemPropertyBaseClass, VaadinConfig vaadinConfig)
Creates aDeploymentConfigurationinstance that is filled with all parameters, specified for the current app.- Parameters:
systemPropertyBaseClass- the class to look for properties defined with annotationsvaadinConfig- the config to get the rest of the properties from- Returns:
DeploymentConfigurationinstance
-
createPropertyDeploymentConfiguration
public DeploymentConfiguration createPropertyDeploymentConfiguration(Class<?> systemPropertyBaseClass, VaadinConfig vaadinConfig)
Creates aDeploymentConfigurationinstance that has all parameters, specified for the current app without doing checks so property states and only returns default.- Parameters:
systemPropertyBaseClass- the class to look for properties defined with annotationsvaadinConfig- the config to get the rest of the properties from- Returns:
DeploymentConfigurationinstance
-
createInitParameters
protected Properties createInitParameters(Class<?> systemPropertyBaseClass, VaadinConfig vaadinConfig)
Generate Property containing parameters for with all parameters contained in current application.- Parameters:
systemPropertyBaseClass- the class to look for properties defined with annotationsvaadinConfig- the config to get the rest of the properties from- Returns:
Propertiesinstance
-
-