com.vaadin.flow.server.startup.
Class DefaultApplicationConfigurationFactory.ApplicationConfigurationImpl
- java.lang.Object
-
- com.vaadin.flow.server.AbstractPropertyConfiguration
-
- com.vaadin.flow.server.startup.DefaultApplicationConfigurationFactory.ApplicationConfigurationImpl
-
All Implemented Interfaces:
AbstractConfiguration, ApplicationConfiguration, Serializable
Enclosing class:
protected static class DefaultApplicationConfigurationFactory.ApplicationConfigurationImpl extends AbstractPropertyConfiguration implements ApplicationConfiguration
See Also:
-
-
Constructor Summary
Constructors Modifier Constructor and Description protected
ApplicationConfigurationImpl(VaadinContext context, FallbackChunk fallbackChunk, Map<String,String> properties)
-
Method Summary
All Methods Modifier and Type Method and Description VaadinContext
getContext()
The context which the configuration is based on.
FallbackChunk
getFallbackChunk()
Gets a fallback chunk for the application or
null
if it's not available.Enumeration<String>
getPropertyNames()
Returns the names of the configuration properties as an
Enumeration
, or an emptyEnumeration
if there are o initialization parameters.boolean
isProductionMode()
Returns whether Vaadin is in production mode.
-
Methods inherited from class com.vaadin.flow.server.AbstractPropertyConfiguration
getApplicationOrSystemProperty, getApplicationProperty, getApplicationProperty, getBooleanProperty, getProperties, getStringProperty, getSystemProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.flow.server.startup.ApplicationConfiguration
get
-
Methods inherited from interface com.vaadin.flow.server.AbstractConfiguration
enableDevServer, getBooleanProperty, getBuildFolder, getFlowResourcesFolder, getStringProperty, isPnpmEnabled, isXsrfProtectionEnabled, reuseDevServer, useV14Bootstrap
-
-
-
-
Constructor Detail
-
ApplicationConfigurationImpl
protected ApplicationConfigurationImpl(VaadinContext context, FallbackChunk fallbackChunk, Map<String,String> properties)
-
-
Method Detail
-
isProductionMode
public boolean isProductionMode()
Description copied from interface:
AbstractConfiguration
Returns whether Vaadin is in production mode.
Specified by:
isProductionMode
in interfaceAbstractConfiguration
Returns:
true if in production mode, false otherwise.
-
getPropertyNames
public Enumeration<String> getPropertyNames()
Description copied from interface:
ApplicationConfiguration
Returns the names of the configuration properties as an
Enumeration
, or an emptyEnumeration
if there are o initialization parameters.Specified by:
getPropertyNames
in interfaceApplicationConfiguration
Returns:
configuration properties as a
Enumeration
-
getContext
public VaadinContext getContext()
Description copied from interface:
ApplicationConfiguration
The context which the configuration is based on.
Specified by:
getContext
in interfaceApplicationConfiguration
Returns:
the vaadin context
-
getFallbackChunk
public FallbackChunk getFallbackChunk()
Description copied from interface:
ApplicationConfiguration
Gets a fallback chunk for the application or
null
if it's not available.Specified by:
getFallbackChunk
in interfaceApplicationConfiguration
Returns:
the application fallback chunk, may be
null
.
-
-