Class ControlCenterI18NProperties
java.lang.Object
com.vaadin.controlcenter.starter.i18n.ControlCenterI18NProperties
- All Implemented Interfaces:
Serializable
@ConfigurationProperties(prefix="vaadin.control-center.i18n")
public final class ControlCenterI18NProperties
extends Object
implements Serializable
I18N properties for the Control Center I18N provider.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the application for which the Control Center I18N provider should preview translations.booleanReturns whether Identity Management is enabled.voidsetApplicationId(String applicationId) Set the name of the application for which the Control Center I18N provider should preview translations.voidsetEnabled(boolean enabled) Sets whether Identity Management is enabled.
-
Field Details
-
PREFIX
The prefix for the Control Center I18N properties.- See Also:
-
ENABLED
The enabled property.- See Also:
-
APPLICATION_ID
The application ID property.- See Also:
-
-
Constructor Details
-
ControlCenterI18NProperties
public ControlCenterI18NProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Returns whether Identity Management is enabled.- Returns:
trueif enabled;falseotherwise
-
setEnabled
public void setEnabled(boolean enabled) Sets whether Identity Management is enabled.- Parameters:
enabled-trueif enabled;falseotherwise
-
getApplicationId
Get the name of the application for which the Control Center I18N provider should preview translations.- Returns:
- the application name
-
setApplicationId
Set the name of the application for which the Control Center I18N provider should preview translations.- Parameters:
applicationId- the application name
-